@adminforth/rich-editor 1.6.3 → 1.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build.log +2 -2
- package/custom/quillEditor.vue +4 -3
- package/dist/custom/quillEditor.vue +4 -3
- package/package.json +1 -1
package/build.log
CHANGED
|
@@ -10,5 +10,5 @@ custom/package.json
|
|
|
10
10
|
custom/quillEditor.vue
|
|
11
11
|
custom/tsconfig.json
|
|
12
12
|
|
|
13
|
-
sent 28,
|
|
14
|
-
total size is 28,
|
|
13
|
+
sent 28,647 bytes received 115 bytes 57,524.00 bytes/sec
|
|
14
|
+
total size is 28,224 speedup is 0.98
|
package/custom/quillEditor.vue
CHANGED
|
@@ -35,7 +35,7 @@ import { useI18n } from 'vue-i18n';
|
|
|
35
35
|
const { t } = useI18n();
|
|
36
36
|
function dbg(title: string,...args: any[]) {
|
|
37
37
|
// return; // comment for debug
|
|
38
|
-
console.log(title, ...args.map(a =>JSON.stringify(a, null, 1)));
|
|
38
|
+
// console.log(title, ...args.map(a =>JSON.stringify(a, null, 1)));
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
// blots/embed: Represents inline embed elements, like images or videos that can be inserted into the text flow.
|
|
@@ -166,7 +166,7 @@ async function saveToServer(file: File) {
|
|
|
166
166
|
});
|
|
167
167
|
if (!success) {
|
|
168
168
|
adminforth.alert({
|
|
169
|
-
messageHtml: `<div>${t('Sorry but the file was not uploaded because of
|
|
169
|
+
messageHtml: `<div>${t('Sorry but the file was not uploaded because of storage adapter Request Error:')} </div>
|
|
170
170
|
<pre style="white-space: pre-wrap; word-wrap: break-word; overflow-wrap: break-word; max-width: 100%;">${
|
|
171
171
|
xhr.responseText.replace(/</g, '<').replace(/>/g, '>')
|
|
172
172
|
}</pre>`,
|
|
@@ -355,7 +355,8 @@ async function emitTextUpdate() {
|
|
|
355
355
|
await (new Promise((resolve) => setTimeout(resolve, 0)));
|
|
356
356
|
const isEmpty = isQuillContentEmpty(html);
|
|
357
357
|
dbg('⬆️ emit value suggestion-input', html);
|
|
358
|
-
|
|
358
|
+
console.log('⬆️ emit value suggestion-input', html);
|
|
359
|
+
emit('update:value', html);
|
|
359
360
|
}
|
|
360
361
|
|
|
361
362
|
// Auto-Completion functions
|
|
@@ -35,7 +35,7 @@ import { useI18n } from 'vue-i18n';
|
|
|
35
35
|
const { t } = useI18n();
|
|
36
36
|
function dbg(title: string,...args: any[]) {
|
|
37
37
|
// return; // comment for debug
|
|
38
|
-
console.log(title, ...args.map(a =>JSON.stringify(a, null, 1)));
|
|
38
|
+
// console.log(title, ...args.map(a =>JSON.stringify(a, null, 1)));
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
// blots/embed: Represents inline embed elements, like images or videos that can be inserted into the text flow.
|
|
@@ -166,7 +166,7 @@ async function saveToServer(file: File) {
|
|
|
166
166
|
});
|
|
167
167
|
if (!success) {
|
|
168
168
|
adminforth.alert({
|
|
169
|
-
messageHtml: `<div>${t('Sorry but the file was not uploaded because of
|
|
169
|
+
messageHtml: `<div>${t('Sorry but the file was not uploaded because of storage adapter Request Error:')} </div>
|
|
170
170
|
<pre style="white-space: pre-wrap; word-wrap: break-word; overflow-wrap: break-word; max-width: 100%;">${
|
|
171
171
|
xhr.responseText.replace(/</g, '<').replace(/>/g, '>')
|
|
172
172
|
}</pre>`,
|
|
@@ -355,7 +355,8 @@ async function emitTextUpdate() {
|
|
|
355
355
|
await (new Promise((resolve) => setTimeout(resolve, 0)));
|
|
356
356
|
const isEmpty = isQuillContentEmpty(html);
|
|
357
357
|
dbg('⬆️ emit value suggestion-input', html);
|
|
358
|
-
|
|
358
|
+
console.log('⬆️ emit value suggestion-input', html);
|
|
359
|
+
emit('update:value', html);
|
|
359
360
|
}
|
|
360
361
|
|
|
361
362
|
// Auto-Completion functions
|