This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-4c231d0c-1fdc-49b6-9a0d-57e444442749 XWIKI-23857 Open

Disable WYSIWYG editing of macros that require content nesting

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-6d511148-a771-4dbe-a54d-f15b6ce44caa Clément Eraud created this issue on 05/Jan/26 13:18
 
Summary: Disable WYSIWYG editing of macros that require content nesting
Issue Type: cid:jira-generated-image-avatar-4c231d0c-1fdc-49b6-9a0d-57e444442749 Improvement
Affects Versions: 17.10.2
Assignee: Unassigned
Components: Blocknote
Created: 05/Jan/26 13:18
Priority: cid:jira-generated-image-static-major-9e408ab5-24f3-42a2-a881-80f034d4e05c Major
Reporter: Clément Eraud
Description:

Currently, XWiki macros can't be properly implemented in Cristal. WYSIWYG edition for these should be disabled to still allow displaying them in the editor (as read-only) and to avoid losing block informations when saving. Specifically, macros that should be set as read-only in the editor are:

  • XWiki block macros (as they can take blocks as content, instead of only inline contents as allowed by BlockNote)
  • XWiki inline macros (as they can take inline contents as content, instead of only text as allowed by BlockNote)