appsmith: [Bug]: Rich Text Editor Issues
Is there an existing issue for this?
- I have searched the existing issues
Description
There are a few nitpicks and inconsistencies in the Rich Text Editor.
RichTextEditor1.text
binding value has a strange experience. This could be due to how the Text Widget renders the HTML provided by theRichTextEditor1.text
. Observations from the video:
- The HTML formatting stops working after a few modifications
- Linebreaks don’t show up in HTML (both in the Text Widget as well as the RTE widget, see video)
https://user-images.githubusercontent.com/103687/160553060-6f647adc-8f50-4241-8fdd-d9bd8ba650ca.mov
Uploading Screen Recording 2022-03-29 at 12.14.02 PM.mov…
- Also, the
InputType
label on the RTE property pane seems misleading. We can alternatively call it “Default Text Type/Markup Type”
Steps To Reproduce
- Add a RTE widget.
- Select InputType as “Markdown”
- Add some markdown content
- Bind the
RichTextEditor1.text
property to a Text widget - Try adding linebreaks into the markdown default content.
Public Sample App
No response
Version
Cloud / All
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 18 (9 by maintainers)
@riodeuno thanks for pointing.
@vivekverma2312 i think this needs deeper investigation to identify all such inconsistencies across the RTE, can we please assign someone to dig a bit deeper around these problems?