Skip to content
Snippets Groups Projects
Commit 90bac9f4 authored by Murtaza Sultani's avatar Murtaza Sultani Committed by Elmar Ludwig
Browse files

Resolve "Courseware: Quelltext-Block zeigt kein Highlighting mehr an"

Closes #4439

Merge request studip/studip!3228
parent 24acec25
No related branches found
No related tags found
No related merge requests found
......@@ -10,9 +10,7 @@
@closeEdit="initCurrentData"
>
<template #content>
<pre v-show="currentContent !== ''" v-highlightjs="currentContent">
<code ref="code" :class="[currentLang]"></code>
</pre>
<pre v-show="currentContent !== ''" v-highlightjs="currentContent"><code ref="code" :class="[currentLang]"></code></pre>
<div v-show="currentLang !== ''" class="code-lang">
<span>{{ currentLang }}</span>
</div>
......@@ -115,6 +113,6 @@ export default {
},
};
</script>
<style scoped lang="scss">
<style lang="scss">
@import '../../../../assets/stylesheets/scss/courseware/blocks/code.scss';
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment