Details
-
Improvement
-
Resolution: Fixed
-
Major
-
17.3.0
-
None
-
Medium
-
N/A
-
N/A
-
Description
Currently, the inplace edit mode assumes that all WYSIWYG editors expect as input HTML and output HTML. This is not true for editors like BlockNote though, see XWIKI-23025, which produce a specific JSON syntax.
There are a few things to improve:
- stop hard-coding the syntax used to render the content for edit (annotated HTML currently); take it instead from the configured WYSIWYG editor
- stop injecting the rendered content in the DOM document, because it may not be HTML
- when saving the content, let the WYSIWYG editor manage the submitted content fields; depending on the editor output, the editor may use either the RequiresHTMLConversion or the new RequiresConversion parameter and the associated extra parameters.
Attachments
Issue Links
- blocks
-
XWIKI-23025 Introduce Blocknote as an editor for XWiki
-
- Open
-
- is related to
-
XWIKI-23205 Add support for using an input syntax different than HTML in the conversion filter
-
- Closed
-