We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14f9817 commit ca993c4Copy full SHA for ca993c4
Rock.JavaScript.Obsidian/Framework/Controls/codeEditor.obs
@@ -194,7 +194,7 @@
194
195
// Since themes can be passed in as the number or string, we need to convert it to the string version
196
const themeName = computed<string>(() => {
197
- if (props.theme === 0 && props.editor === "ace") {
+ if ((props.theme === 0 || props.theme === "rock") && props.editor === "ace") {
198
return "github";
199
}
200
0 commit comments