There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-7417e5a0-c230-4293-b08c-6cf2e6301db2 XWIKI-22210 Open

Blocks of {{code}} are acting strange

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-2f7ca661-57f8-4ec4-a946-4f5c9ea5f350 Changes by Ion Claudiu on 14/Jun/24 09:45
 
Description: Having a block of \ {{code}} in a page makes editing act weird.

I managed to reproduce them by following the following steps:

1) write text that has
\ {{ {{{} code { }} }}} in it
2.1) if there is a space between the text and the block of code, the editing works as long as you don't write next to the block of code
2.2) if there is no space between the text and the block of code, adding a space will also add a new line
3) pressing Delete will delete the entire block of code, pressing Backspace will act as expected (delete the character on the left of the cursor). This is why I think the issue is related to the block of code being inserted in the page as a layout.
-4) it is impossible to place the cursor before the block of code-

The bug is not present while editing in source mode so this may be a workaround.