Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#15093 closed defect (fixed)

exceptions on newline in EnterKeyHandling plugin when using LI-elements (ordered and unordered lists)

Reported by: towby Owned by: Jared Jurkiewicz
Priority: high Milestone: 1.7.3
Component: Editor Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

The following use case throws an error in EnterKeyHandling? plugin of the editor

Pls Note: This only hapens if the Please see attached dijit.Editor example:

Open the page (browser doesn't matter, tested in IE9 and FF10) click into the editor Type "abc" click on one of the list plugin buttons hit enter key

=> error: callback.apply is not a function

Attachments (1)

example_EnterKeyWithListsException.html (1.8 KB) - added by towby 7 years ago.

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by towby

comment:1 Changed 7 years ago by towby

oh... stopped writing in the middle of the sentence:

Pls note: This only happens if the enterKeyHandling plugin is using another value for "blockNodeForEnter" as 'BR'.

In the example page, the first editor is using 'P', the second is using 'DIV', the third and the 4th are both using 'BR'.

The error only occurs in the first two editors

comment:2 Changed 7 years ago by Jared Jurkiewicz

Owner: set to Jared Jurkiewicz
Resolution: fixed
Status: newclosed

In [28287]:

Error in the AMD conversion. Parameter name (selectionapi), did not match usage of it (was calling it 'selection' in code. \!strict fixes #15093

comment:3 Changed 7 years ago by Jared Jurkiewicz

In [28288]:

Error in the AMD conversion. Parameter name (selectionapi), did not match usage of it (was calling it 'selection' in code. \!strict 1.7.X fix as well (as it is a regression from previous dojo) fixes #15093

comment:4 Changed 7 years ago by Jared Jurkiewicz

Milestone: tbd1.7.3

comment:5 Changed 7 years ago by Jared Jurkiewicz

Priority: undecidedhigh
Note: See TracTickets for help on using tickets.