mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-23 23:06:54 +00:00
use default as default
This commit is contained in:
1 parent
d234dd0e0b
commit
726d9abec2
1 file changed
+1
-1
@@ -145,7 +145,7 @@ const CodeEditor = forwardRef(
|
||||
const customHighlightPlugin = createHighlightPlugin(renderer, tab);
|
||||
|
||||
const languageExtension = language === 'css' ? css() : [markdown({ base: markdownLanguage, codeLanguages: languages }), html({ autoCloseTags: true })];
|
||||
const themeExtension = Array.isArray(themes[editorTheme]) ? themes[editorTheme] : [];
|
||||
const themeExtension = Array.isArray(themes[editorTheme]) ? themes[editorTheme] : themes[0];
|
||||
|
||||
return [
|
||||
history(), //allows for undo and redo
|
||||
|
||||
Reference in new issue
Block a user