test
test
# Markdown Test The quick brown fox jumps over the [Lazy Googled](http://google.com/search?q=the+quick+brown+fox+jumps+over+the+lazy+dog). ## Markdown plugin fix First, apply the fix: // applications/core/interface/ckeditor/ckeditor/plugins/markdown/plugin.js:48 (t => { if ( t.addClass._hacked ) { return; } var _old_addClass = t.addClass; t.addClass = str => str.split(' ').forEach(_old_addClass.bind(t)); t.addClass._hacked = true; })(textarea); textarea.addClass('cke_source cke_reset cke_enable_context_menu'); Then, enable markdown (where’s the button?) Object.values(CKEDITOR.instances).forEach((editor) => editor.setMode('markdown')) And finally, Object.values(CKEDITOR.instances).forEach((editor) => editor.setMode('wysiwyg'))
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.