Skip to content
Snippets Groups Projects
Commit b2e3f646 authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

add `ck-content` class for vue components, fixes #3175

Closes #3175

Merge request studip/studip!2150
parent e578183c
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@
</h4>
<div>
<h4><translate>Beschreibung</translate>:</h4>
<p v-html="currentData.description"></p>
<div class="formatted-content ck-content" v-html="currentData.description"></div>
</div>
</div>
</div>
......
......@@ -14,7 +14,7 @@
<div class="cw-block-biography-type" :class="'cw-block-biography-goals-type-' + currentData.type">
<h2>{{ goalTypeName }}</h2>
</div>
<div class="cw-block-biography-details formatted-content" v-html="currentData.description">
<div class="cw-block-biography-details formatted-content ck-content" v-html="currentData.description">
</div>
</div>
</template>
......
......@@ -11,7 +11,7 @@
@closeEdit="initCurrent"
>
<template #content>
<section class="formatted-content" v-html="currentText" ref="content"></section>
<section class="formatted-content ck-content" v-html="currentText" ref="content"></section>
</template>
<template v-if="canEdit" #edit>
<ckeditor :editor="editor" v-model="currentText" :config="editorConfig" @ready="onReady"></ckeditor>
......
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