mdevaney
Member
Posted 11 months ago #
okay so im developing a custom backend for users to be able to edit pages on the fly, im trying to add a WYSIWYG editor to each of the text areas. this is the current code;
<textarea name="<?php the_id(); ?>" rows="20" cols="55">
anyone know how to add a WYSIWYG editor to this?
mdevaney
Member
Posted 11 months ago #
So while searching the forums, codex, and google turned up NOTHING. I decided to use another WYSIWYG editor here is the code;
<script src="http://js.nicedit.com/nicEdit-latest.js" type="text/javascript"></script>
<script type="text/javascript">
bkLib.onDomLoaded(nicEditors.allTextAreas);
</script>
It turns all your textareas into textareas with a WYSIWYG editor