CKEditor上的字体大小更改事件
问题描述:
用户更改字体大小后,是否可以捕获事件?
Is there any way to capture an event when user has changed font-size?
我正在寻找类似的东西:
I'm looking for something similar to this:
CKEDITOR.editor.getCommand('xxx').on('xxx', function(){
});
答
您需要使用:
CKEDITOR.instances.your_instance_name.on( 'change', function() {
// Code goes here
} );
用您的实例名称替换您的实例名称
.