Details
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
5.9.12, Cloud
-
1
-
Severity 3 - Minor
-
Description
NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.
Summary
When user move an attachment file macro by drag and drop in edit mode, a blank line (actually <p> tag with white space char) remains at the previous position of the attachment. The blank line is not reflect in WYIWYG editor.
Environment
- Confluence 5.9.12 (server)
- Confluence Cloud
Steps to Reproduce
- Create with a page like this
Source code by Confluence Source Editor<p>AAAA</p> <p> <ac:image ac:height="250"> <ri:attachment ri:filename="IMG03.jpg"/> </ac:image> </p> <p>BBBB</p> <p> <ac:image ac:height="250"> <ri:attachment ri:filename="IMG01.jpg"/> </ac:image> </p> <p>CCCC</p> <p> <ac:image ac:height="250"> <ri:attachment ri:filename="IMG02.jpg"/> </ac:image> </p>
- Edit the page and move Move IMG01.jpg and IMG02.jpg above text “BBBB” by drag and drop
- Save the page
The blank lines are added at the position that the moved images were located at. The lines were not appeared in the edit mode at the previous step.
Expected Results
The bank lines should not be added. Or at least, the blank lines should appear after drag and drop in edit mode so that user can delete it immediately.
Actual Results
The blank lines are added at the position that the moved images were located at. We can see the source cod like this,
<p>AAAA</p> <p> <ac:image ac:height="250"> <ri:attachment ri:filename="IMG03.jpg"/> </ac:image> </p> <p> <ac:image ac:height="250"> <ri:attachment ri:filename="IMG01.jpg"/> </ac:image> </p> <p> <ac:image ac:height="250"> <ri:attachment ri:filename="IMG02.jpg"/> </ac:image> </p> <p>BBBB</p> <p> </p> <p>CCCC</p> <p> </p>
Workaround
Open the page after saving and remove blank lines ‘<p> </p>’ manually.
Attachments
Issue Links
- relates to
-
CONFCLOUD-44336 Brank line (<p> tag with white space ) remains after moving attachment macro by drag and drop
- Closed