Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#9202 closed defect (fixed)

Dijit Editor won't allow delete until new text is typed in

Reported by: Will Bunker Owned by:
Priority: high Milestone: 1.4
Component: Editor Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:

Description

When using FireFox? 3.0.8, if I have a dijit.Editor in a Dialog box with no existing content using explicit markup, then upon clicking a button to show the dialog run the following code:

editorID.setValue("some content here"); dialogID.show(); setTimeout(function() {

editorID.placeCursorAtEnd();

}, 200);

The content is shown in the Editor with focus, but the delete key doesn't work until I type some new text into the editor.

I was able to find a workaround, which consisted of putting dummy content in the editor, and then the above code works as expected and allows deletion from the beginning.

Change History (5)

comment:1 Changed 10 years ago by Adam Peller

Component: GeneralEditor
Owner: changed from anonymous to liucougar

comment:2 Changed 10 years ago by bill

I fixed this in [18822] I think, although I haven't tried an Editor in a Dialog, can you attach your exact test case?

comment:3 Changed 10 years ago by bill

Milestone: tbdfuture
Owner: liucougar deleted

comment:4 Changed 10 years ago by Jared Jurkiewicz

Resolution: fixed
Status: newclosed

Closing as believed fixed.

comment:5 Changed 9 years ago by Jared Jurkiewicz

Milestone: future1.4
Note: See TracTickets for help on using tickets.