Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-98549

Incorrect Cursor behavior when inserting block macro (Warning, Note, info, ...etc) into a list

      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

      1. Create a new page on Confluence.
      2. On the newly created page, create a list. 
      3. In the middle of the list, insert a block macro, for example, a Warning macro. 
      4. Observe there is an extra line generated below the Warning macro. 
      5. Move the cursor to the newly created line, and hit the enter (or return) key. 
      6. 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

      1. While hitting the enter (or return) key below the macro, it creates a new line above the macro.
      2. The extra line generated in step 4 disappeared when saving the page and entering the edit mode again.

      Please refer to the 

      Workaround

      1. Save the page and edit again remove the extra line generated in step 4.
      2. Enter the browser developer tool to remove the extra <br> element could also mitigate the issue. 

            [CONFSERVER-98549] Incorrect Cursor behavior when inserting block macro (Warning, Note, info, ...etc) into a list

            Nam Ho made changes -
            Labels Original: ewt-rtb-service-operations-and-tech-entropy internal-kickoff New: ewt-rtb-service-operations-and-tech-entropy internal-kickoff tinymce-7.6-fix
            Nam Ho made changes -
            QA Demo Status Original: Not Done [ 14330 ] New: Not Needed [ 14332 ]
            QA Kickoff Status Original: Not Done [ 14234 ] New: Not Needed [ 14236 ]
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Closed [ 6 ]
            ConfServer Board Bot made changes -
            Labels Original: ewt-rtb-service-operations-and-tech-entropy New: ewt-rtb-service-operations-and-tech-entropy internal-kickoff
            ConfServer Board Bot made changes -
            Link New: This issue depends on CONFSRVDEV-37926 [ CONFSRVDEV-37926 ]
            Engineering Taxonomy Bot made changes -
            Labels New: ewt-rtb-service-operations-and-tech-entropy
            Nam Ho made changes -
            Status Original: Gathering Impact [ 12072 ] New: In Progress [ 3 ]
            Nam Ho made changes -
            Assignee New: Nam Ho [ nhoxuan ]
            Nam Ho made changes -
            Fix Version/s New: 9.3.1 [ 110904 ]
            SET Analytics Bot made changes -
            UIS New: 1
            SET Analytics Bot made changes -
            Support reference count New: 1

              nhoxuan Nam Ho
              9dd52b4ca361 Brent Lin
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: