简体   繁体   中英

CKEditor on font-size change event

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(){

});

You need to use:

CKEDITOR.instances.your_instance_name.on( 'change', function() {
    //  Code goes here
} );

Replace your_instance_name with your instance name.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM