tiff / wysihtml5

Open source rich text editor based on HTML5 and the progressive-enhancement approach. Uses a sophisticated security concept and aims to generate fully valid HTML5 markup by preventing unmaintainable tag soups and inline styles.
http://xing.github.com/wysihtml5/
MIT License
6.49k stars 995 forks source link

get executed command name in beforeCommand or AfterCommand event #498

Open wezamena opened 10 years ago

wezamena commented 10 years ago

is there exist a way to figure out which command is fired in "beforecommand:Composer" event ? i.e : Editor.on("beforecommand:composer", function () { console.log(commandName); });