33 - SPDX-License-Identifier: AGPL-3.0-or-later
44-->
55<template >
6- <div class =" tiptap-wrapper" >
6+ <div class =" tables- tiptap-wrapper" >
77 <div v-if =" editor" class =" menuBar" >
88 <NcButton type="tertiary-no-background" :aria-label =" t (' tables' , ' Undo' )" @click =" editor .chain ().focus ().undo ().run ()" >
99 <template #icon >
@@ -201,7 +201,7 @@ export default {
201201}
202202 </script >
203203
204- <style lang="scss" scoped >
204+ <style lang="scss">
205205
206206.character-count {
207207 display : flex ;
@@ -215,7 +215,7 @@ export default {
215215}
216216
217217/* Basic editor styles */
218- .tiptap-wrapper .ProseMirror , .tabulator-cell .ProseMirror {
218+ .tables- tiptap-wrapper .ProseMirror , .tabulator-cell .ProseMirror {
219219 > * + * {
220220 /* margin-top: 0.75em;*/
221221 }
@@ -232,6 +232,8 @@ export default {
232232 h5 ,
233233 h6 {
234234 line-height : 1.1 ;
235+ font-size : unset ;
236+ font-size : revert ;
235237 }
236238
237239 pre {
@@ -257,7 +259,7 @@ export default {
257259 }
258260}
259261
260- .tiptap-wrapper ul [data-type = ' taskList' ], .tabulator-cell ul [data-type = ' taskList' ] {
262+ .tables- tiptap-wrapper ul [data-type = ' taskList' ], .tabulator-cell ul [data-type = ' taskList' ] {
261263 list-style : none ;
262264 padding : 0 ;
263265 p {
@@ -277,7 +279,14 @@ export default {
277279 }
278280}
279281
280- .tiptap-wrapper ul , .tabulator-cell ul {
282+ .tables-tiptap-wrapper ol , .tabulator-cell ol {
283+ li {
284+ list-style-type : decimal ;
285+ margin-left : 15px ;
286+ }
287+ }
288+
289+ .tables-tiptap-wrapper ul , .tabulator-cell ul {
281290 li {
282291 list-style-type : disc ;
283292 margin-left : 15px ;
0 commit comments