Files
payload/packages
Alessio Gravili df4af70fb9 fix(richtext-lexical): ensure jsx and html converters do not output linebreak if editor is empty (#10563)
If you add text to the editor, then delete it using ctrl+a + delete, one
empty paragraph that cannot be removed remains in the editor state.

In order to account for this, we have a `hasText()` function - this,
however, was not used in our JSX and HTML converters. This caused the
converters to incorrectly output a linebreak if said empty editor state
was passed in.
2025-01-14 06:31:34 +00:00
..
2025-01-13 19:57:13 -05:00
2025-01-13 19:57:13 -05:00
2025-01-13 19:57:13 -05:00
2025-01-13 19:57:13 -05:00