Opened 12 years ago
Last modified 12 years ago
#10362 confirmed New Feature
Introduce editor#feature event
Reported by: | Piotrek Koszuliński | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.1 |
Keywords: | Cc: |
Description
Based on: http://ckeditor.com/forums/CKEditor/How-to-remove-attributes-which-are-removed-from-dialog-windows
It is not possible to modify feature's properties in convenient way or in some cases at all. Editor#feature should be fired when feature is registered by filter#addFeature, but before its rules/transformations/etc are registered.
This should be possible:
CKEDITOR.replace( 'editor1', { on: { feature: function( evt ) { if ( evt.data.name == 'table' ) evt.data.allowedContent = 'table[border,summary];caption tbody thead tfoot;th td tr[scope]'; } } } );
Change History (2)
comment:1 Changed 12 years ago by
Status: | new → confirmed |
---|
I'd love to see this in upcoming releases.