TinyMCE Keyup Function
// get tinymce instance of wp default editor var ed = tinyMCE.getInstanceById(‘content’); // add a callback to tinyMCE.onKeyUp event ed.onKeyUp.add(function(){ // format: text will strip html tags console.log( ed.getContent({ format: ‘text’ }) ).length; }) http://www.tinymce.com/wiki.php/api3:event.tinymce.editor.onkeyup