File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
app/src/renderer/components Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 64
64
readOnly: this .disabled ? this .disabled : false
65
65
})
66
66
this .quill .format (' size' , ' 20px' )
67
- this .quill .on (' text-change' , (delta , oldDelta , source ) => {
68
- // let text = this.quill.getText()
69
- // console.log(text)
70
- })
71
67
this .quill .on (' selection-change' , function (range , oldRange , source ) {
72
68
if (range) {
73
69
if (range .length === 0 ) {
76
72
let text = self .quill .getText (range .index , range .length )
77
73
self .selection = text
78
74
self .$emit (' select' , range .index , range .index + range .length - 1 , text)
79
- // self.quill.format('color', 'red')
80
75
}
81
76
} else {
82
77
}
89
84
90
85
checkForInitialContent () {
91
86
this .editor .innerHTML = this .value || ' '
92
- // this.left = this.editor.clientLeft
93
87
},
94
88
95
89
handleUpdatedEditor () {
You can’t perform that action at this time.
0 commit comments