Unverified Commit 22ccee98 authored by Nicolas Widart's avatar Nicolas Widart Committed by GitHub

Merge pull request #513 from superewald/fixes-506-active-editor

custom backend editor fix
parents 77487a36 1eb85470
......@@ -2,13 +2,13 @@ export default {
methods: {
getCurrentEditor() {
const configuredEditor = window.AsgardCMS.editor;
if (configuredEditor === undefined || configuredEditor === 'ckeditor') {
return 'ckeditor';
}
if (configuredEditor === 'simplemde') {
return 'markdown-editor';
}
if (configuredEditor === 'ckeditor') {
return 'ckeditor';
}
return 'ckeditor';
return configuredEditor;
},
},
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment