I may not be stating this problem correctly or the solution and if so I apologise.
My problem concerns use of RichTextEditor and loading it with arbitrary HTML/CSS which does not originate from data input via a RichTextEditor control.
If it contains a broad CSS rule e.g. div { margin: 10px } then in IE this breaks the containing page as the 10px is applied to all div's.
In chrome/firefox its not a problem because the RichTextEditor uses an iframe for the editing and so is isolated from the containing page.
Is there a way of forcing it to use an iframe in IE?
My problem concerns use of RichTextEditor and loading it with arbitrary HTML/CSS which does not originate from data input via a RichTextEditor control.
If it contains a broad CSS rule e.g. div { margin: 10px } then in IE this breaks the containing page as the 10px is applied to all div's.
In chrome/firefox its not a problem because the RichTextEditor uses an iframe for the editing and so is isolated from the containing page.
Is there a way of forcing it to use an iframe in IE?
Comment