silverstripe/sapphire — pull request #553 by hafriedlander (2012-06-20 03:35:11+00:00)
Title: BUGFIX: Fix trac ticket 7081

IE contentEditable carets and selection boxes show on top of any elements, interfering with HtmlEditorFields dialogs. This fixes that by storing the selection prior to opening the dialog, then unselecting everything. On dialog close the selection is restored

This was marked as critical for RC1 but didn't quite make it. Chance of regression is medium - shouldn't affect anything outside HtmlEditorField, but HtmlEditorField will need retesting in all browsers.

I'm assuming the dialog interface isn't a stable API, and so haven't marked this as APICHANGE. If users have created their own derivatives of .htmleditorfield-form then they will need to make similar changes.