PDA

View Full Version : [CLOSED]Method insertAtCursor of HTMLeditor does not work



enricokoerner
30 Jun 2010, 11:39 PM
Dear Ext/Sencha-Team,

since the update of ExtJS to version 3.2.1 (coming from 3.2.0) on my WEB server it seems, that the method insertAtCursor of HTMLeditor does not work. I've developed a short workaround in my application w/o usage of these method.
Please can you check this method.

Thanks in advance and best regards,
Enrico

evant
30 Jun 2010, 11:59 PM
It works as I would expect using the SVN version. I just mocked up a quick sample using IE8/FF/Chrome and it inserted the text at the cursor position:



Ext.onReady(function(){
var ed = new Ext.form.HtmlEditor({
renderTo: document.body
});

new Ext.Button({
renderTo: document.body,
text: 'Blah',
handler: function(){
ed.insertAtCursor('foo');
}
});
});


Marking as closed.