Changes between Initial Version and Version 1 of Ticket #30817, comment 2
- Timestamp:
- 12/23/2014 12:15:19 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30817, comment 2
initial v1 1 The `editor.focus();` is needed for IE. All versions of IE t hreat non-editable elements in the editor (and even block elements with height/width set) as separate DOM fragments when selected, i.e. when the thick diagonal border with resize handles is shown.1 The `editor.focus();` is needed for IE. All versions of IE treat non-editable elements in the editor (and even block elements with height/width set) as separate DOM fragments when selected, i.e. when the thick diagonal border with resize handles is shown. 2 2 3 3 As the wpView toolbar is inside the non-editable element, the focus is transferred there on clicking a button. We hide the IE border, but the focus remains inside that DOM fragment which is outside of the editor DOM. That causes range errors when the wpView gets updated.