소스 검색

富文本气泡默认14pt,最大宽度530px

zq 1 개월 전
부모
커밋
9048f7abe4
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      src/components/ExplanatoryNoteDialog.vue
  2. 1 1
      src/views/book/courseware/preview/components/rich_text/RichTextPreview.vue

+ 1 - 0
src/components/ExplanatoryNoteDialog.vue

@@ -12,6 +12,7 @@
       toolbar="fontselect fontsizeselect forecolor backcolor | underline | bold italic strikethrough alignleft aligncenter alignright image media link"
       :wordlimit-num="false"
       :height="240"
+      :font-size="'14pt'"
       placeholder="输入内容"
       page-from="audit"
     />

+ 1 - 1
src/views/book/courseware/preview/components/rich_text/RichTextPreview.vue

@@ -49,7 +49,7 @@
       placement="bottom-start"
       trigger="manual"
     >
-      <div class="popover-content" v-html="sanitizeHTML(selectedNote)"></div>
+      <div class="popover-content" style="max-width: 530px; font-size: 14pt" v-html="sanitizeHTML(selectedNote)"></div>
     </el-popover>
   </div>
 </template>