Skip to content

Commit 34b3324

Browse files
fix: set background color on TipTapEditor component directly instead of applying it via inline styles
Signed-off-by: Abhishek-Punhani <punhani.manavabhi@gmail.com>
1 parent 1d92a3c commit 34b3324

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

contentcuration/contentcuration/frontend/shared/views/QTIEditor/interactions/choice/ChoiceInteractionEditor.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@
132132
<TipTapEditor
133133
:value="choice.content"
134134
:mode="isChoiceOpen(choice.id) ? 'edit' : 'view'"
135-
:style="isChoiceOpen(choice.id) ? { backgroundColor: $themePalette.white } : {}"
136135
format="html"
137136
:minHeight="'80px'"
138137
:autofocus="isChoiceOpen(choice.id)"

contentcuration/contentcuration/frontend/shared/views/TipTapEditor/TipTapEditor/TipTapEditor.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@
331331
'Helvetica Neue',
332332
Arial,
333333
sans-serif;
334+
background-color: white;
334335
border: 1px solid #e1e5e9;
335336
}
336337

0 commit comments

Comments
 (0)