How to disable CKEditor context menu?

前端 未结 12 1424
梦毁少年i
梦毁少年i 2020-12-09 03:34

Does anybody know how to disable CKEditor\'s context (right click) menu? I would expect a configuration option, but I can\'t find one. I am using v3.1. Thanks.

12条回答
  •  执笔经年
    2020-12-09 04:05

    I needed to disable all of the following to get this to work.

    config.removePlugins = 'language,tableresize,liststyle,tabletools,scayt,menubutton,contextmenu';
    

    Previously we did not need language or tableresize - but a newer version of ckeditor seems to require that.

    I discovered this in looking at the output in F12 dev tools on chrome.

提交回复
热议问题