Skip to content

Commit feebc21

Browse files
committed
Fixed logo size for mobile. Strengthened shadow on headshot
1 parent 2ec6a17 commit feebc21

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

example/App.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export default {
109109
})
110110
111111
},
112-
uploadImage(file) {
112+
uploadImage(file, Editor, cursorLocation) {
113113
var formData = new FormData();
114114
formData.append('file', file)
115115
formData.append('upload_preset', UPLOAD_PRESET)
@@ -124,9 +124,7 @@ export default {
124124
})
125125
.then((result) => {
126126
let url = result.data.url
127-
console.log(url);
128-
// var range = this.quill.getSelection();
129-
// this.quill.insertEmbed(range.index, 'image', url, Quill.sources.API);
127+
Editor.insertEmbed(cursorLocation, 'image', url);
130128
})
131129
.catch((err) => {
132130
console.log(err);

0 commit comments

Comments
 (0)