Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
9.7-rc-1
-
None
-
None
-
Windows 10 Pro 64 bit, Firefox 66, using a local instance of XWiki 10.11.4 on PostgreSQL 10
-
Unknown
-
Description
STEPS TO REPRODUCE
Preconditions: user has to be Advanced.
- Edit a page in Wiki mode (make sure Syntax Highlighting is enabled from Administer Wiki > Editing > Syntax Highlighting)
- Click on a button from the toolbar to insert something (e.g. a horizontal ruler or a heading)
- Press Enter to move to a new line
EXPECTED RESULTS
The cursor is moved to a new line below the insertion.
ACTUAL RESULTS
If pressing Enter just after the insertion (without any clicking in the editing area), the respective insertion is copied to a new line each time Enter is pressed (screenshot attached).
However, if after the insertion is clicked in the editing area first, then pressing Enter, the cursor is moved properly to a new line.
If the Syntax Highlighting is disabled, the cursor is moved to a new line without copying the insertion.