diff --git a/src/components/CodemirrorEditor/EditorHeader/StyleOptionMenu.vue b/src/components/CodemirrorEditor/EditorHeader/StyleOptionMenu.vue index a2ef385..45f5193 100644 --- a/src/components/CodemirrorEditor/EditorHeader/StyleOptionMenu.vue +++ b/src/components/CodemirrorEditor/EditorHeader/StyleOptionMenu.vue @@ -48,7 +48,7 @@ function setStyle(title, value) { {{ props.title }} - + { + const url = `${codeBlockUrlPrefix}${codeBlockTheme}` + const label = codeBlockTheme.replace(`.min.css`, ``) + return { + label, + value: url, + } + }), ] export const legendOptions = [