Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当用户更改字体大小时,有什么方法可以捕获事件?
我正在寻找类似的东西:
CKEDITOR.editor.getCommand('xxx').on('xxx', function(){ });
你需要使用:
CKEDITOR.instances.your_instance_name.on( 'change', function() { // Code goes here } );
替换your_instance_name为您的实例名称。
your_instance_name