Opened 11 years ago
Closed 11 years ago
#10497 closed defect (fixed)
Editor with content starting with text followed by p : error on IE
Reported by: | jfcunat | Owned by: | Jared Jurkiewicz |
---|---|---|---|
Priority: | high | Milestone: | 1.4.1 |
Component: | Editor | Version: | 1.4.0 |
Keywords: | editor | Cc: | |
Blocked By: | Blocking: |
Description
When using default Editor with dijit._editor.plugins.EnterKeyHandling?, if the initial text starts with plain text and is followed by a p tag, it fires an error in IE.
This is because of the treatment done by dijit._editor.plugins.EnterKeyHandling? in regularPsToSingleLinePs function
Proposed patch joined : simply test the nodeType for p previousSibling and modified test_Editor.html that shows the problem
Attachments (1)
Change History (4)
Changed 11 years ago by
Attachment: | patch_EnterKeyHandling.txt added |
---|
comment:1 Changed 11 years ago by
Owner: | set to Jared Jurkiewicz |
---|
comment:2 Changed 11 years ago by
comment:3 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [21052]) Fixing IE specific EnterKeyHandler? bug with text outside a P tag and error is thrown. fixes #10497
Note: See
TracTickets for help on using
tickets.
(In [21051]) Fixing IE specific EnterKeyHandler? bug with text outside a P tag and error is thrown. refs #10497