We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 77487a3 + 1eb8547 commit 22ccee9Copy full SHA for 22ccee9
Modules/Core/Assets/js/mixins/ActiveEditor.js
@@ -2,13 +2,13 @@ export default {
2
methods: {
3
getCurrentEditor() {
4
const configuredEditor = window.AsgardCMS.editor;
5
+ if (configuredEditor === undefined || configuredEditor === 'ckeditor') {
6
+ return 'ckeditor';
7
+ }
8
if (configuredEditor === 'simplemde') {
9
return 'markdown-editor';
10
}
- if (configuredEditor === 'ckeditor') {
- return 'ckeditor';
- }
11
+ return configuredEditor;
12
},
13
14
};
0 commit comments