Opened 11 years ago
Closed 9 years ago
#13180 closed Bug (invalid)
FF: Cursor stops before non content editable element when pressing left arrow key
| Reported by: | Inga | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 3.3 |
| Keywords: | Firefox | Cc: | Satya Minnekanti |
Description (last modified by )
Steps to reproduce:
- Go to http://ckeditor.swg.usma.ibm.com/
- In the console: CKEDITOR.instances.editor1.insertHtml('aaa <a contenteditable="false" href="www.ibm.com">@Amy Jones126</a> aaa')
- Same for a similar structure more similar to mentions
- In the console: CKEDITOR.instances.editor1.insertHtml('aaa <span contenteditable="false"><a href="www.ibm.com">@Amy Jones126</a></span> aaa')
- Press the left arrow key...
Change History (5)
comment:1 Changed 11 years ago by
| Description: | modified (diff) |
|---|
comment:2 Changed 11 years ago by
| Keywords: | Firefox added |
|---|---|
| Status: | new → confirmed |
| Version: | 4.4.7 → 3.3 |
comment:3 Changed 11 years ago by
| Status: | confirmed → pending |
|---|
Does it happen with widgets too? Non-editable elements are supported only in form of widgets.
comment:4 Changed 11 years ago by
No the widgets are handled nicely - you can move around with arrow as much as you like.
comment:5 Changed 9 years ago by
| Resolution: | → invalid |
|---|---|
| Status: | pending → closed |
Non-editable elements are supported only in form of widgets.
Thank you for clarification @Reinmar. I'm closing the ticket.

The best way to reproduce this problem is using below code:
var editor = CKEDITOR.replace( 'editor1', { allowedContent:true } ); editor.on( "instanceReady", function( event ){ editor.setData('', function(){ editor.insertHtml('aaa <a contenteditable="false" href="www.ibm.com">@Amy Jones126</a> aaa'); } ); });I'm confirming this issue as perhaps there might be something done to "put cursor next to non-editable element, focus it and again put cursor next to it" when using arrows