PDA

View Full Version : Ext.form.HtmlEditor insertAtCursor - Cross-browser inconsistencies



kato
2 Jul 2007, 4:20 AM
HtmlEditor's new insertAtCursor method is a great addition in 1.1b2. I understand the HtmlEditor class is still a work in progress, but so the developers know, there are some inconsistencies when inserting an image into the editor across different browsers on Windows.

For example, when inserting the HTML fragment <img src="graphic.gif"> the image is inserted correctly in FF2 and IE7, while behaves strangely in Opera and Safari. Also, after the image insert, the resize handles are correctly displayed in FF2, while they are displayed beyond the editor frame in IE7 (when the image dimensions are bigger than the editor frame).