Tuesday, 1 October 2013

YUI 3 how to use COMMANDS.addclass

YUI 3 how to use COMMANDS.addclass

I want to override the execCommand('formatblock',''); to add a h1 class on
the fly. I think I should use COMMANDS.addclass but I don't know where to
put the code. Do you have a concrete example with COMMANDS.addclass?
thx

No comments:

Post a Comment