Skip to content
Snippets Groups Projects
Commit 10e1c973 authored by Elmar Ludwig's avatar Elmar Ludwig Committed by Jan-Hendrik Willms
Browse files

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

Closes #3175

Merge request studip/studip!2150
parent 7d7d1bec
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</h4> </h4>
<div> <div>
<h4>{{ $gettext('Beschreibung') }}:</h4> <h4>{{ $gettext('Beschreibung') }}:</h4>
<p v-html="currentData.description"></p> <div class="formatted-content ck-content" v-html="currentData.description"></div>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<div class="cw-block-biography-type" :class="'cw-block-biography-goals-type-' + currentData.type"> <div class="cw-block-biography-type" :class="'cw-block-biography-goals-type-' + currentData.type">
<h2>{{ goalTypeName }}</h2> <h2>{{ goalTypeName }}</h2>
</div> </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>
</div> </div>
</template> </template>
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
</div> </div>
</div> </div>
<div v-if="currentLayout === 'grid'" class="cw-block-gallery-content"> <div v-if="currentLayout === 'grid'" class="cw-block-gallery-content">
<div class="cw-block-gallery-grid formatted-content"> <div class="cw-block-gallery-grid">
<figure <figure
v-for="image in files" v-for="image in files"
:key="image.id" :key="image.id"
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
@closeEdit="initCurrent" @closeEdit="initCurrent"
> >
<template #content> <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>
<template v-if="canEdit" #edit> <template v-if="canEdit" #edit>
<ckeditor :editor="editor" v-model="currentText" :config="editorConfig" @ready="onReady"></ckeditor> <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