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

Toggle heading with content is saved as a regular heading and paragraph

    XMLWordPrintable

Details

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

    Description

      Have XWiki Jetty/HSQLDB 18.5.0 with the experimental BlockNote editor installed. Configure BlockNote as the default editor.

      Steps to reproduce

      1. Create or edit any wiki page.
      2. In editor, insert a Toggle Heading block any level.
      3. Name such heading and provide the toggle content.
      4. Save the page.

      Actual result

      The toggle heading is converted into a regular heading, and the toggle content is converted into a normal paragraph. The collapsible behavior is lost.

      Expected result

      The toggle heading is preserved as an interactive collapsible heading. The toggle content is hidden by default and revealed when clicking the toggle, as in the BlockNote demo .

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              npetrenko Nikita Petrenko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: