ramon fincken Site's programmer
Joined: 03 Aug 2007 Posts: 65 Location: Amsterdam, the Netherlands/Europe
|
Posted: Fri Nov 16, 2007 8:29 pm Post subject: [solution] Using tinyMCE in only 1 or more specifies textareas |
|
|
The tinyMCE editor comes standard with:
| Code: | tinyMCE.init({
...
mode : "textareas",
...
});
...
<textarea id="elm1" ... |
however, if you only want to start the editor for some prefined textareas, change the code to:
| Code: | tinyMCE.init({
...
mode : "exact",
elements : "elm1,elm2"
});
...
<textarea id="elm1" ......
<textarea id="elm2" ......
<textarea id="no_tinymce" ... |
|
|