Skip to content

Commit ce8c4e0

Browse files
committed
save
1 parent 6da0c8d commit ce8c4e0

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

dev/App.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525

2626
<script>
2727
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'
3030
3131
import axios from 'axios'
3232
// import ImageResize from 'quill-image-resize-module';
@@ -79,6 +79,9 @@ export default {
7979
},
8080
created() {
8181
82+
},
83+
mounted() {
84+
alert('worked from dev!')
8285
},
8386
methods: {
8487
focusEditor() {

src/VueEditor.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,12 @@ export default {
6262
mounted() {
6363
this.initializeVue2Editor()
6464
this.handleUpdatedEditor()
65+
alert('worked!')
6566
},
6667
6768
beforeDestroy() {
68-
this.quill = null
69-
delete this.quill
69+
// this.quill = null
70+
// delete this.quill
7071
},
7172
7273
watch: {
@@ -88,6 +89,7 @@ export default {
8889
this.checkForInitialContent()
8990
this.checkForCustomImageHandler()
9091
92+
9193
this.quill.on('selection-change', range => {
9294
this.$emit('selection-change', range)
9395
if (!range) {

0 commit comments

Comments
 (0)