Hello,
Using autogrow in Safari does not work quite well.
After the textarea is resized it loses focus.
Has anybody experienced the same issue or found a solution for that?
Thanks
Aldo
Using autogrow in Safari does not work quite well.
After the textarea is resized it loses focus.
Has anybody experienced the same issue or found a solution for that?
Thanks
Aldo
Re: Autogrow in Safari loses focus
with
which is a prototype method to resize the table-cell which contains the editorcontents. Of course you can change the size with normal JS too, the point is to get rid of editor.resize which causes the focus-loss and resize manually. Hope they'll 'officially' fix this soon, I don't know if there are sideeffects if you don't use the resize-method, although I did not have any difficulties so far.
Luke
Re: Autogrow in Safari loses focus
Re: Autogrow in Safari loses focus
with jquery:
$('.cke_contents:first').css("height", newHeight + 'px');
I just pasted it into the end of ckeditor.js so it would override the included one, seemed to work...