-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Labels
bugSomething isn't workingSomething isn't workinghtmlIssue with html parsing or renderingIssue with html parsing or renderingmode - rich textAffects the editor's rich text (wysiwyg) modeAffects the editor's rich text (wysiwyg) mode
Description
Describe the bug
A combination of HTML p tag and comment tag in the MD mode are display weirdly in RT mode:
- The
pcontent is overlapped with the editor empty state's placeholder text - The text is wrapped in a blue border box
- The text is uneditable. Inserting new words make the whole text be removed.
- Even back to the MD mode to remove the HTML comment, the issue is still remaining.
To Reproduce
Steps to reproduce the behavior:
- In MD mode, insert this:
<p>A paragraph.</p>
<!--This is a comment -->
Expected behavior
The RT display shouldn't be affected by the HTML comment tag. Display p tag element with or without HTML comment should be the same.
Desktop (please complete the following information):
- OS: macOS
- Browser Chrome
- Version 103.0.5060.114 (Official Build) (arm64)
Additional context
I also reported the issue in the Feedback Stack editor thread here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghtmlIssue with html parsing or renderingIssue with html parsing or renderingmode - rich textAffects the editor's rich text (wysiwyg) modeAffects the editor's rich text (wysiwyg) mode
Type
Projects
Status
Todo
