| 2 | | |
| 3 | | I think I managed to narrow down even further. The line that actually causes the bug to appear is {{{tab.remove('advStyles')}}}. I updated a jsfiddle to v4 for this: http://jsfiddle.net/gz9b4/4/ - the code for replicating in 3.6.2 at least is as follows |
| 4 | | {{{ |
| 5 | | CKEDITOR.on( |
| 6 | | 'dialogDefinition', |
| 7 | | function( ev ) |
| 8 | | { |
| 9 | | var dialogName = ev.data.name; |
| 10 | | var dialogDefinition = ev.data.definition; |
| 11 | | |
| 12 | | if ( dialogName == 'tableProperties' ) |
| 13 | | { |
| 14 | | var tab = dialogDefinition.getContents( 'advanced' ); |
| 15 | | tab.remove ('advStyles'); // This causes the bug to appear |
| 16 | | //tab.remove ('advLangDir'); // this does not |
| 17 | | //tab.remove ('advCSSClasses'); // nor this |
| 18 | | } |
| 19 | | } |
| 20 | | ); |
| 21 | | window.x = CKEDITOR.editor.replace('my-editor'); |