fix(仪表板): 修复富文本公共链接访问行间距过大问题

This commit is contained in:
wangjiahao 2022-11-29 12:53:12 +08:00
parent 97c6158011
commit 061911e60e
2 changed files with 41 additions and 27 deletions

View File

@ -18,8 +18,8 @@
<script>
import tinymce from 'tinymce/tinymce' // tinymcehidden
import Editor from '@tinymce/tinymce-vue'//
import 'tinymce/themes/silver/theme'//
import Editor from '@tinymce/tinymce-vue' //
import 'tinymce/themes/silver/theme' //
import 'tinymce/icons/default' // icon
//
import 'tinymce/plugins/advlist' //
@ -29,9 +29,9 @@ import 'tinymce/plugins/image' // 插入编辑图片
import 'tinymce/plugins/lists' //
import 'tinymce/plugins/charmap' //
import 'tinymce/plugins/media' //
import 'tinymce/plugins/wordcount'//
import 'tinymce/plugins/table'//
import 'tinymce/plugins/contextmenu'// contextmenu
import 'tinymce/plugins/wordcount' //
import 'tinymce/plugins/table' //
import 'tinymce/plugins/contextmenu' // contextmenu
import 'tinymce/plugins/directionality'
import 'tinymce/plugins/nonbreaking'
import 'tinymce/plugins/pagebreak'
@ -173,34 +173,43 @@ export default {
.rich-main-class {
width: 100%;
height: 100%;
overflow-y: auto!important;
overflow-y: auto !important;
position: relative;
}
::-webkit-scrollbar {
width: 0px!important;
height: 0px!important;
width: 0px !important;
height: 0px !important;
}
::v-deep ol {
display: block!important;
display: block !important;
list-style-type: decimal;
margin-block-start: 1em!important;
margin-block-end: 1em!important;
margin-inline-start: 0px!important;
margin-inline-end: 0px!important;
padding-inline-start: 40px!important;
margin-block-start: 1em !important;
margin-block-end: 1em !important;
margin-inline-start: 0px !important;
margin-inline-end: 0px !important;
padding-inline-start: 40px !important;
}
::v-deep ul {
display: block!important;
display: block !important;
list-style-type: disc;
margin-block-start: 1em!important;
margin-block-end: 1em!important;
margin-inline-start: 0px!important;
margin-inline-end: 0px!important;
padding-inline-start: 40px!important;
margin-block-start: 1em !important;
margin-block-end: 1em !important;
margin-inline-start: 0px !important;
margin-inline-end: 0px !important;
padding-inline-start: 40px !important;
}
::v-deep li {
display: list-item!important;
text-align: -webkit-match-parent!important;
display: list-item !important;
text-align: -webkit-match-parent !important;
}
::v-deep p {
margin: 0px;
padding: 0px;
}
</style>

View File

@ -18,8 +18,8 @@
<script>
import tinymce from 'tinymce/tinymce' // tinymcehidden
import Editor from '@tinymce/tinymce-vue'//
import 'tinymce/themes/silver/theme'//
import Editor from '@tinymce/tinymce-vue' //
import 'tinymce/themes/silver/theme' //
import 'tinymce/icons/default' // icon
//
import 'tinymce/plugins/advlist' //
@ -29,9 +29,9 @@ import 'tinymce/plugins/image' // 插入编辑图片
import 'tinymce/plugins/lists' //
import 'tinymce/plugins/charmap' //
import 'tinymce/plugins/media' //
import 'tinymce/plugins/wordcount'//
import 'tinymce/plugins/table'//
import 'tinymce/plugins/contextmenu'// contextmenu
import 'tinymce/plugins/wordcount' //
import 'tinymce/plugins/table' //
import 'tinymce/plugins/contextmenu' // contextmenu
import 'tinymce/plugins/directionality'
import 'tinymce/plugins/nonbreaking'
import 'tinymce/plugins/pagebreak'
@ -272,5 +272,10 @@ export default {
::v-deep .base-selected {
background-color: #b4d7ff
}
::v-deep p {
margin: 0px;
padding: 0px;
}
</style>