File tree Expand file tree Collapse file tree 2 files changed +16
-9
lines changed Expand file tree Collapse file tree 2 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 1- // Disable checkboxes in view mode. See https://github.com/nhn/tui.editor/issues/1087.
2- .toastui-editor-contents li .task-list-item {
3- pointer-events : none ;
4- a {
5- pointer-events : auto ;
6- }
7- }
8-
91.ProseMirror ,
102.toastui-editor-defaultUI .ProseMirror ,
113.toastui-editor-md-container .toastui-editor-md-preview {
Original file line number Diff line number Diff line change 8686
8787 <!-- Content -->
8888 <div class =" flex-1" >
89- <ToastViewer v-if =" !editMode" :initialValue =" note.content" />
89+ <ToastViewer
90+ v-if =" !editMode"
91+ :initialValue =" note.content"
92+ class =" toast-viewer"
93+ />
9094 <ToastEditor
9195 v-if =" editMode"
9296 ref =" toastEditor"
99103 </LoadingIndicator >
100104</template >
101105
106+ <style >
107+ /* Disable checkboxes in view mode. See https://github.com/nhn/tui.editor/issues/1087. */
108+ .toast-viewer li .task-list-item {
109+ pointer-events : none ;
110+ }
111+ .toast-viewer li .task-list-item a {
112+ pointer-events : auto ;
113+ }
114+ </style >
115+
116+
102117<script setup>
103118import { mdiNoteOffOutline } from " @mdi/js" ;
104119import {
You can’t perform that action at this time.
0 commit comments