This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-1326c5eb-1355-451f-9159-b19d848869ca XWIKI-22291 Open

When inserting a macro, the empty lines before it are removed

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-6354eeee-71e4-44d2-a06d-0c75d9b9327e Marius Dumitru Florea created this issue on 21/Jun/24 17:12
 
Summary: When inserting a macro, the empty lines before it are removed
Issue Type: cid:jira-generated-image-avatar-1326c5eb-1355-451f-9159-b19d848869ca Bug
Affects Versions: 15.10.10, 16.4.0
Assignee: Unassigned
Components: Realtime
Created: 21/Jun/24 17:12
Priority: cid:jira-generated-image-static-major-6db513dd-c893-49f0-8983-08055430a367 Major
Reporter: Marius Dumitru Florea
Description:

Follow these steps to reproduce:

  • edit the same page in two browser tabs, in realtime
  • in the first tab, type something on the first line
  • then press Enter a couple of times to create some empty lines
  • then insert an information box on the last line
  • switch to the second browser tab

The empty lines are removed when switching to the second tab (not before!)