File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 25
25
26
26
<script >
27
27
28
- // import { VueEditor, Quill } from '../src/index.js'
29
- import { VueEditor , Quill } from ' ../dist/vue2-editor.js'
28
+ import { VueEditor , Quill } from ' ../src/index.js'
29
+ // import { VueEditor, Quill } from '../dist/vue2-editor.js'
30
30
31
31
import axios from ' axios'
32
32
// import ImageResize from 'quill-image-resize-module';
@@ -79,6 +79,9 @@ export default {
79
79
},
80
80
created () {
81
81
82
+ },
83
+ mounted () {
84
+ alert (' worked from dev!' )
82
85
},
83
86
methods: {
84
87
focusEditor () {
Original file line number Diff line number Diff line change @@ -62,11 +62,12 @@ export default {
62
62
mounted () {
63
63
this .initializeVue2Editor ()
64
64
this .handleUpdatedEditor ()
65
+ alert (' worked!' )
65
66
},
66
67
67
68
beforeDestroy () {
68
- this .quill = null
69
- delete this .quill
69
+ // this.quill = null
70
+ // delete this.quill
70
71
},
71
72
72
73
watch: {
@@ -88,6 +89,7 @@ export default {
88
89
this .checkForInitialContent ()
89
90
this .checkForCustomImageHandler ()
90
91
92
+
91
93
this .quill .on (' selection-change' , range => {
92
94
this .$emit (' selection-change' , range)
93
95
if (! range) {
You can’t perform that action at this time.
0 commit comments