This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-7470c3c9-cb92-405d-8e62-0c44705e771b XWIKI-24548 Open

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-08d6c959-47b1-42a7-8c8f-36685659866d Nikita Petrenko created this issue on 03/Jul/26 12:47
 
Summary: Toggle heading with content is saved as a regular heading and paragraph
Issue Type: cid:jira-generated-image-avatar-7470c3c9-cb92-405d-8e62-0c44705e771b Bug
Affects Versions: 18.5.0
Assignee: Unassigned
Components: BlockNote
Created: 03/Jul/26 12:47
Priority: cid:jira-generated-image-static-major-86982381-ead3-4cce-b7b2-e7417b5c6731 Major
Reporter: Nikita Petrenko
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 .