CodeIgniter Forums
how to display ticemce editor & plain textarea on same page - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: how to display ticemce editor & plain textarea on same page (/showthread.php?tid=16424)



how to display ticemce editor & plain textarea on same page - El Forum - 03-06-2009

[eluser]Milind[/eluser]
Hello Friends,

I have to success to displaying,submitting and retried data through tinymce editor but now i faced one more problem i have to display another one simple plain editor (textarea) that means i have to show two editor one is tinymce editor and plain editor but in my o/p there are 2 tinymce editor.I tried textarea tag with another tagname and id but when i execute web page it shows tinymce editor that means it shows 2 tinymce editor.

Please help in this issue


how to display ticemce editor & plain textarea on same page - El Forum - 03-06-2009

[eluser]pistolPete[/eluser]
Use exact mode:
Code:
tinyMCE.init({
    ...
    mode : "exact",
    elements : "elm1,elm2"
});

http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/mode


how to display ticemce editor & plain textarea on same page - El Forum - 03-06-2009

[eluser]Milind[/eluser]
Thanks yaar(friend) Your given solution is working well