Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
18.6.0
-
None
-
Unknown
-
Description
Steps to reproduce
- Edit a page in the xwiki/2.1 syntax with the BlockNote editor.
- Type / to open the Quick Actions.
Actual result
The Quick Actions offer Toggle Heading 1, Toggle Heading 2, Toggle Heading 3 and Toggle List. The syntax cannot save these blocks: once the page is saved, they become regular headings, lists and paragraphs, and the collapsible behavior is lost (see XWIKI-24548).
Expected result
The Quick Actions only offer the blocks that the syntax of the edited content can save. The toggle headings and the toggle list are hidden when the syntax does not support them.
Cause
The Quick Actions are filtered by the features of the syntax since XWIKI-23830. The toggle headings are kept whenever headings 1 to 3 are supported, and the toggle list whenever bullet lists are supported. There is no syntax feature for toggleable blocks.
Attachments
Issue Links
- relates to
-
XWIKI-24548 Toggle heading with content is saved as a regular heading and paragraph
-
- Open
-
-
XWIKI-23830 Only display features in the editor when the backend supports it
-
- Closed
-
-
XWIKI-23984 Allow disabling togglable elements
-
- Closed
-