There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-ed86cdf3-c676-41cb-a933-4caf32fadb80 XWIKI-23722 Open

Duplicated text editor in object editor when it contains velocity code

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-df79c11f-8685-424c-9087-55cc7d8b8c8c Simon Urli on 18/Nov/25 16:17
 

So the official cause of the regression is XWIKI-23625 because I changed a bit the way to initialize the toolbar by triggering proper events. But those events are caught by SyntaxHighlighting to initialize CodeMirror and since we don't have proper protection to avoid double initialization of CM in a given textarea we are seeing the current regression. So the actual bug is in SyntaxHighlighting to avoid having this double initialization.