Open hiphigi opened 8 years ago
same issue here. Tested with ckeditor 4.4.7 and 4.5.7
My source code shows the markdown module is loaded "js_conf": { "extraPlugins": "\'markdown\'" }
but markdown button does not display
Getting the button to show was as simple as adding 'Markdown' after 'Source' in my toolbar config. Maybe try that on your end and see if it works. Here's my full config with it working right now:
config.toolbar = [
{ name: "styles", items: ["Format"] },
{ name: "basicstyles", items: ["Bold", "Italic", "Underline"] },
{ name: "paragraph", items: ["NumberedList", "BulletedList", "-", "Outdent", "Indent",] },
{ name: "links", items: ["Link", "Unlink", "-", "HorizontalRule"] },
{ name: "tools", items: ["Maximize"] },
{ name: "document", items: ["Markdown"] }
];
I've got the same issue here running CKEditor 4.5.6. Did not have luck with adding 'Markdown' after 'Source'. Can anyone else report another way that they got this working? I'm gonna see if I can find a workaround and throw up a patch if I come up with a solution.
I tried adding the extraPlugins setting to the instance of CKEditor and to the config.js file, like so:
CKEDITOR.replace('inbox-reply-input', { customConfig: 'config.js', extraPlugins: 'markdown' });
config.js `CKEDITOR.editorConfig = function(config) { config.extraPlugins = 'markdown'; config.toolbar = [ { name: 'clipboard', items: ['Undo', 'Redo'] }, { name: 'editing', items: [ 'Scayt'] }, { name: 'links', items: ['Link', 'Unlink', 'Anchor'] }, { name: 'insert', items: ['Image', 'Table', 'HorizontalRule', 'SpecialChar'] }, { name: 'tools', items: ['Maximize'] }, { name: 'document', items: ['Source', 'Markdown'] }, '/', { name: 'basicstyles', items: ['Bold', 'Italic', 'Strike', '-', 'RemoveFormat'] }, { name: 'paragraph', items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote'] }, { name: 'styles', items: ['Font', 'FontSize', 'TextColor'] }
};`
Neither method presents the "Markdown" button/option up top. Here is a screenshot. http://i.imgur.com/Of8IOFX.png