This issue has been created
There are 3 updates, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-81b2c3fc-06f7-49e8-a715-a798ae9780ef XWIKI-23205 Open

Add support for using an input syntax different than HTML in the conversion filter

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-d2ec4cbb-da33-4348-8bc6-1a0ca68c4e68 Marius Dumitru Florea created this issue on 15/May/25 16:04
 
Summary: Add support for using an input syntax different than HTML in the conversion filter
Issue Type: cid:jira-generated-image-avatar-81b2c3fc-06f7-49e8-a715-a798ae9780ef New Feature
Affects Versions: 17.3.0
Assignee: Unassigned
Components: WYSIWYG Editor
Created: 15/May/25 16:04
Priority: cid:jira-generated-image-static-major-bf2988bc-d0a0-49ae-9be1-ebbcfda5f5cd Major
Reporter: Marius Dumitru Florea
Description:

The WYSIWYG Editor is using a conversion servlet filter to convert the submitted HTML to the storage wiki syntax. The conversion filter makes the assumption that all WYSIWYG Editor implementations produce HTML. This is not true for the BlockNote integration (XWIKI-23025), where the editor produces a specific JSON syntax. In order to cover this use case we need to make the conversion filter more generic, to allow us to specify an input syntax other than HTML.

 
 

3 updates

 
cid:jira-generated-image-avatar-d2ec4cbb-da33-4348-8bc6-1a0ca68c4e68 Changes by Marius Dumitru Florea on 15/May/25 16:05
 
Fix Version: 17.4.0-rc-1
Assignee: Marius Dumitru Florea
Tests: Unit
 
 

1 comment

 
cid:jira-generated-image-avatar-d2ec4cbb-da33-4348-8bc6-1a0ca68c4e68 Marius Dumitru Florea on 15/May/25 16:09
 

In order to trigger the conversion for a parameter named "description", you need 3 additional request parameters:

RequiresConversion=description
description_inputSyntax=annotatedhtml/5.0
description_outputSyntax=xwiki/2.1

Existing code can continue to use the current parameters:

RequiresHTMLConversion=description
description_syntax=xwiki/2.1