Hi,
I would like to know the how to obain the infomation about the enabled plugin and HTML tag of the Ckeditor.
Question 1
For the plugin, I find the function "config.plugins", but when I display the config.plugin. It shows the same list no matter I modify with "config.removePlugins" or "config.AllowedContent". Please let me know if I use the config.plugins correctly. Please refer my config.js.
Question 2
For the HTML tag information, I wonder if any command to list out all the supported HTML tag in CKeditor. I had tested in the CKedtior non-rich-text mode, I enter <address>abcde</address>, it would turn to <p>abcde</p>. Then I think that <address> is not allowed in the current HTML filter. But before I modify the CKeditor to add HTML tag, I want to know which HTML is allowed in the existing filter. I seached in the Ckeditor document, I find "filter.check" and "filter.allowedContent". But it don't work and error in console log. Please help to advise how to use them properly.
My config.js:
CKEDITOR.editorConfig = function( config ) { config.uiColor = '#FF0000'; config.removePlugins = 'liststyle,tabletools,scayt,menubutton,contextmenu'; config.forcePasteAsPlainText = true; console.log(config.plugins); // always show the same list no matther the value of removeplugin // don't how to code in the config.js to use filter function. // console.log(filter.check('address')); // // console.log(filter.allowedContent); // };