#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 12 years ago by
Component: | General → Editor |
---|---|
Owner: | changed from anonymous to liucougar |
comment:2 Changed 11 years ago by
comment:3 Changed 11 years ago by
Milestone: | tbd → future |
---|---|
Owner: | liucougar deleted |
comment:4 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Closing as believed fixed.
comment:5 Changed 11 years ago by
Milestone: | future → 1.4 |
---|
Note: See
TracTickets for help on using
tickets.
I fixed this in [18822] I think, although I haven't tried an Editor in a Dialog, can you attach your exact test case?