Ticket #3882: ckeditor-config-pastefromword-removestyle.diff

File ckeditor-config-pastefromword-removestyle.diff, 620 bytes (added by Derek Price, 15 years ago)

two line change to implement default checkbox value based on config key

  • assets/ckeditor/_source/plugins/pastefromword/dialogs/pastefromword.js

     
    284284                                                        {
    285285                                                                type : 'checkbox',
    286286                                                                id : 'removeStyle',
    287                                                                 label : editor.lang.pastefromword.removeStyle
     287                                                                label : editor.lang.pastefromword.removeStyle,
     288                                                                'default' : editor.config.pasteFromWordRemoveStyle
    288289                                                        }
    289290                                                ]
    290291                                        }
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy