Page 2 of 2

Re: Using an embedded WYSIWYG HTML editor with a textarea ob

Posted: Mon Mar 26, 2018 4:33 pm
by toms
nac wrote: That is very helpful. I will have a go at it later. Just as a matter of interest, did you find that it behaved correctly with tabs visibility, position etc. once the WYSIWYG editor was visible?
It behaves correctly, if you create a textarea within a html object.

Code: Select all

<textarea style="width:700px; height:auto" name="comment" id="myrteeditor" class="rich-text-editor"></textarea><br />
If you attach the editor to an existing nuBuilder textarea, you need my "hack" hideShowEditor() that I posted earlier.

Re: Using an embedded WYSIWYG HTML editor with a textarea ob

Posted: Mon Mar 26, 2018 5:46 pm
by nac
Understood.. and I am sure you are correct about the timing issue. I tried your suggestion and it works and there are still a few minor issues to iron out (like the position on the screen the edits not being saved ). It will probably have to wait for a while until I have time to return to it. Of course, it would be nice to have but it's not essential just now. Thanks for your help and ideas in the meantime.

Neil

Re: Using an embedded WYSIWYG HTML editor with a textarea ob

Posted: Sun Apr 01, 2018 9:18 pm
by admin
.