Details
-
Bug
-
Resolution: Fixed
-
High
-
1000.540.0, 1000.541.0, 1000.542.0, 1000.543.0, 1000.544.0, 1000.545.0, 1000.546.0, 1000.547.0, 1000.548.0, 1000.549.0, 1000.550.0, 1000.551.0, 1000.552.0, 1000.553.0, 1000.554.0, 1000.555.0, 1000.556.0, 1000.557.0, 1000.558.0, 1000.559.0, 1000.560.0, 1000.561.0, 1000.562.0, 1000.563.0, 1000.564.0, 1000.565.0, 1000.566.0, 1000.567.0, 1000.568.0, 1000.569.0, 1000.570.0, 1000.571.0, 1000.572.0, 1000.573.0, 1000.574.0, 1000.575.0, 1000.576.0, 1000.577.0, 1000.578.0, 1000.579.0, 1000.580.0, 1000.581.0, 1000.582.0, 1000.583.0, 6.0.3
-
1000.445.0, 6.0.1
-
1
-
Severity 3 - Minor
-
Description
NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.
Summary
Using some operations are causing vertical spacing between the macros to be stripped out as auto-cursor-target class is applied.
Steps to Reproduce
Steps to reproduce:
- Start creating a newpage
- Insert a block macro (e.g. the info macro)
- Insert another macro below the first (e.g. another info macro)
- In the space between the two macros, add a line break (in the editor DOM there are now two paragraphs between the macros - one with the auto-cursor-target class and one without)
- Click on preview and observe that there is vertical spacing between the macros
- Perform one of the "user operations" listed below - do this below the two macros to make the effect clearer to observe (in the editor DOM, both paragraphs between the macros now have the auto-cursor-target class applied)
- Click on preview and observe that the vertical spacing between the macros has been stripped out
User operations known to cause this issue:
- Wiki autoformatting (e.g. when you type h2. followed by a space to trigger heading formatting)
- Cutting content (e.g. via cmd + v shortcut)
This issue is only reproducible on instances that do not have the collaborative editing feature enabled.
Expected Results
The spaces are not modified
Actual Results
Vertical spacing between the macros were stripped out.
Workaround
Use operations on the top menu when available, such as selecting a text and making it title, instead of using h2..
Attachments
Issue Links
- relates to
-
CONFCLOUD-45182 Vertical spacing removed on preview or publish after certain user operations
- Closed