Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
18.0.1
-
None
-
Unknown
-
Description
Follow this steps to reproduce:
- edit a page with BlockNote
- insert a Divider between two pagraphs
- save and view
The divider (horizontal rule) is not saved. Moreover, the paragraph that follows the divider is lost. On the JavaScript console I can see this error:
Uncaught (in promise) Error: TODO: add support for BlockNote dividers to UniAst
convertBlock bn-to-uniast.ts:292
which is unexpected to me, since UniAst supports a break block that the parser / renderer on the server side is properly mapping to the "horizontal line" XDOM block. I guess the only missing part is converting from the BlockNote divider to the UniAst "break" block?
Attachments
Issue Links
- is duplicated by
-
XWIKI-24008 Dividers can break the editor
-
- Closed
-