Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25829

Toggle headings and toggle lists are offered in the BlockNote Quick Actions although the syntax cannot save them

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 18.6.0
    • BlockNote
    • None
    • Unknown

    Description

      Steps to reproduce

      1. Edit a page in the xwiki/2.1 syntax with the BlockNote editor.
      2. 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

          Activity

            People

              Unassigned Unassigned
              mleduc Manuel Leduc
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: