You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: Whitespace after an inline element (e.g., ) within a nested structure (e.g., ordered/unordered lists) is unexpectedly removed during editing or rendering. This causes the text to appear concatenated without proper spacing, leading to formatting inconsistencies.
Steps to Reproduce
Open the WYSIWYG editor.
Create a nested list (e.g., ul or ol).
Add an inline element (e.g., span) within a list item.
Add text immediately after the inline element with a space in between.
Bug Description
Issue: Whitespace after an inline element (e.g., ) within a nested structure (e.g., ordered/unordered lists) is unexpectedly removed during editing or rendering. This causes the text to appear concatenated without proper spacing, leading to formatting inconsistencies.
Steps to Reproduce
ol
).CodeSandbox
Or check the example provided below from CodeSandbox
https://codesandbox.io/p/devbox/froala-angular-wysiwyg-editor-forked-wm6rzw
Expected Behavior
The editor should preserve the whitespace after the inline element, ensuring correct text rendering. For example:
Actual Behavior
The whitespace after the inline element is removed, and the resulting text appears concatenated:
Environment
The text was updated successfully, but these errors were encountered: