这是清单:http://www.elizabethcastro.com/html/extras/entities.html http://www.elizabethcastro.com/html/extras/entities.html我要么想启用所有这些,要么禁用所有它们...(当然除了 )
有没有办法做到这一点?
有 config.entities_additional = "",但这是要存储的所有实体的逗号分隔列表。
最好,我想完全禁用实体,但设置 config.entities = false;没有做任何事情。 o.o
@Cheery的答案解决了编辑器使用config.js文件的情况。
然而,
CKEDITOR.replace("selected_text_actual", {
uiColor: "#F5F5F5",
toolbar: "myToolbar",
scayt_autoStartup: false,
enterMode: CKEDITOR.ENTER_BR,
forcePasteAsPlainText: true,
forceSimpleAmpersand: true,
height: '170px',
entities: false,
basicEntities: false,
entities_greek: false,
entities_latin: false,
toolbarCanCollapse: false,
resize_enabled: false,
disableNativeSpellChecker: false,
removePlugins: 'elementspath',
editingBlock: false}).setData(text_for_editor);
仍然有 HTML 实体。