In editor you can use goDoCommand('cmd_bold') to trigger the bold.

How does it work for goDoCommand('cmd_paragraphState')? I assume you 
need the state attribute from <command> and controller grabs it from 
there. Is there some other requirements?

I couldn't get it to work. I got the thing to
change state of <command>, and
call globalOverlay.js -> goDoCommand(command),

however it decided to fail on me on the method:
controller.doCommand(command);

I got a feeling its because the editor is not window._content rather 
window.frames[0] (Not an option to change this). Any ideas?

Thanks
-- 
Mike Lee
http://www.exitspace.net/mike


Reply via email to