-
Bug
-
Resolution: Fixed
-
Low
-
7.19.21, 9.1.0, 8.5.14, 8.5.16, 9.1.1, 8.5.17
-
1
-
Severity 3 - Minor
-
1
-
Issue Summary
When inserting block macros (Warning, Note
, info
, etc.) into a list, hitting the enter (or return) key below the macro will cause the cursor to move to the new line above it. It is expected to create a new line below the macro
, instead of creating the line above it
.
This is reproducible on Data Center: (yes)
Steps to Reproduce
- Create a new page on Confluence.
- On the newly created page, create a list.
- In the middle of the list, insert a block macro, for example, a Warning macro.
- Observe there is an extra line generated below the Warning macro.
- Move the cursor to the newly created line, and hit the enter (or return) key.
- Observe a new line will be created above the Warning macro and the cursor also been moved to the newly created line above the macro.
Expected Results
There shouldn't be an extra line generated and while hitting the enter (or return) key below the macro, it should create a new line below the macro .
Actual Results
- While hitting the enter (or return) key below the macro, it creates a new line above the macro
.
- The extra line generated in step 4 disappeared when saving the page and entering the edit mode again.
Please refer to the
Workaround
- Save the page and edit again remove the extra line generated in step 4.
- Enter the browser developer tool to remove the extra <br> element could also mitigate the issue.