The forum operates in read-only mode. Please head to StackOverflow for support.
Hi all!
I have such question: how can I edit table context menu for some editors, for example, remove «Delete Table» or «Table Properties», or even «Delete Rows» from «Row»?
Thank you!
Hi,
I've had a simular question and managed to solve it and remove a item from the context menu. Maybe this works for you to?
See my own reply in this topic. http://ckeditor.com/forums/CKEditor/CK4-contextmenu-config
Thank you! It realy works! But I still can't remove either Cell or Column item
CKEDITOR.on('instanceReady', function(ck) { ck.editor.removeMenuItem('cell'); });
doesn't work. But I've found out that
CKEDITOR.on('instanceReady', function(ck) { ck.editor.removeMenuItem('table'); });
removes Table Properties.
Is there any menu items names list somewhere?
The list of menu items can be found in plugin.js in the menu plugin:
CKEDITOR.config.menu_groups = 'clipboard,' + 'form,' + 'tablecell,tablecellproperties,tablerow,tablecolumn,table,'+ 'anchor,link,image,flash,' + 'checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea,div';
Hi,
Hi,
I've had a simular question and managed to solve it and remove a item from the context menu. Maybe this works for you to?
See my own reply in this topic.
http://ckeditor.com/forums/CKEditor/CK4-contextmenu-config
Thank you! It realy works!
Thank you! It realy works! But I still can't remove either Cell or Column item
CKEDITOR.on('instanceReady', function(ck) { ck.editor.removeMenuItem('cell'); });
doesn't work. But I've found out that
CKEDITOR.on('instanceReady', function(ck) { ck.editor.removeMenuItem('table'); });
removes Table Properties.
Is there any menu items names list somewhere?
The list of menu items can be
The list of menu items can be found in plugin.js in the menu plugin:
CKEDITOR.config.menu_groups =
'clipboard,' +
'form,' +
'tablecell,tablecellproperties,tablerow,tablecolumn,table,'+
'anchor,link,image,flash,' +
'checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea,div';