Opened 3 years ago

Last modified 23 months ago

#18894 assigned defect

EnterKeyHandling forgets line indentation upon new line

Reported by: mdolden Owned by: dylan
Priority: undecided Milestone: 1.14
Component: Editor Version: 1.11.2
Keywords: Cc:
Blocked By: Blocking:


When in DIV mode the enterkeyhandling forgets line indentation upon new line. I was able to fix this by adding the code below to the handleEnterKey function :

if (this.editor.queryCommandState("justifyleft")) {

newblock.align = "left";

} else if (this.editor.queryCommandState("justifyright")) {

newblock.align = "right";

} else {

newblock.align = "center";


Change History (3)

comment:1 Changed 3 years ago by dylan

Component: GeneralEditor
Milestone: tbd1.12
Owner: set to dylan
Status: newassigned

comment:2 Changed 3 years ago by dylan

Milestone: 1.121.13

Moving to 1.13.

comment:3 Changed 23 months ago by dylan

Milestone: 1.131.14
Note: See TracTickets for help on using tickets.