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.

  1. RichTextEditor1.text binding value has a strange experience. This could be due to how the Text Widget renders the HTML provided by the RichTextEditor1.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…

  1. Also, the InputType label on the RTE property pane seems misleading. We can alternatively call it “Default Text Type/Markup Type”

Steps To Reproduce

  1. Add a RTE widget.
  2. Select InputType as “Markdown”
  3. Add some markdown content
  4. Bind the RichTextEditor1.text property to a Text widget
  5. 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)

Most upvoted comments

@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?