tinymce: clear field

by prettyscripts on 2008-09-22 16:22:57 • Leave a comment »

freejavascriptxajaxtinymce

the normal way to clear <textarea> field: document.formname.textareaid.value = ''; for <textarea> converted into tinymce editor, the above javascript call does not work. you need to call tinyMCE.setContent() tinyMCE.getInstanceById('texta… more »

Tags: clear, editor, textarea, tinymce, xajax

tinymce and xajax: data in the editor is not submitted

by prettyscripts on 2008-06-23 15:44:11 • Leave a comment »

javascriptxajaxtinymce

i just downloaded and installed tinymce which magically converted the <textarea> element into a nice little editor, which suppose transform the input into html output. nice! no more educating non-programmers about html tags. if you submit the for… more »

Tags: form, post, submit, textarea, tinymce, xajax

tinymce: html wysiwyg editor

by prettyscripts on 2008-06-23 11:11:51 • Leave a comment »

freejavascripttinymce

if you’re not using any standard packages (portals, cms etc) and want to write your own form for users who don’t know anything about html to post html contents, one solution is to use tinyMCE, an open source (ie free!) javascript that transform <texta… more »

Tags: editor, textarea, tinymce