vdc-editor 0.1.239 → 0.1.241
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/lib/{BulkSpellChecker-BG-sw2xy.mjs → BulkSpellChecker-7rN0SaKJ.mjs} +2 -2
- package/lib/{BulkSpellChecker-BG-sw2xy.mjs.map → BulkSpellChecker-7rN0SaKJ.mjs.map} +1 -1
- package/lib/{index-CHY0dIOa.mjs → index-BKOKfAJp.mjs} +8046 -8025
- package/lib/{index-CHY0dIOa.mjs.map → index-BKOKfAJp.mjs.map} +1 -1
- package/lib/src/extensions/SpellChecker/spellchecker.d.ts +2 -2
- package/lib/src/utils/utils.d.ts +8 -0
- package/lib/vdc-editor.mjs +1 -1
- package/lib/vdc-editor.umd.js +69 -69
- package/lib/vdc-editor.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -12,8 +12,8 @@ export default class Spellchecker {
|
|
|
12
12
|
get completeProofreadingDone(): boolean;
|
|
13
13
|
debouncedGetMatchAndSetDecorations: import('lodash').DebouncedFunc<(text: string, originalFrom: number) => Promise<void>>;
|
|
14
14
|
debouncedGetMatchAndSetDecorationsList: import('lodash').DebouncedFunc<(list: IGetMatchAndSetDecorationsList[]) => Promise<void>>;
|
|
15
|
-
debouncedClickEventsListener:
|
|
16
|
-
debouncedAcceptSuggestionEventsListener:
|
|
15
|
+
debouncedClickEventsListener: (e: Event) => Promise<false | undefined>;
|
|
16
|
+
debouncedAcceptSuggestionEventsListener: (e: Event) => void;
|
|
17
17
|
debouncedProofreadChangedNodes: import('lodash').DebouncedFunc<(changedNodes: IChangedNodes[]) => Promise<void>>;
|
|
18
18
|
private proofreader;
|
|
19
19
|
private uiStrings?;
|
package/lib/src/utils/utils.d.ts
CHANGED
|
@@ -28,3 +28,11 @@ export declare function splitStringToLimitChunks(str: string, chunkSize: number)
|
|
|
28
28
|
offset: number;
|
|
29
29
|
}>;
|
|
30
30
|
export declare const parseLineBreaksToParagraph: (text: string) => string;
|
|
31
|
+
export interface CleanHTMLOptions {
|
|
32
|
+
/**
|
|
33
|
+
* List of nodes that should NOT be saved to HTML
|
|
34
|
+
* example: ['videoUpload', 'imageUpload']
|
|
35
|
+
*/
|
|
36
|
+
removeNodes?: string[];
|
|
37
|
+
}
|
|
38
|
+
export declare function getCleanHTML(editor: Editor, options?: CleanHTMLOptions): string;
|
package/lib/vdc-editor.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as i, r as t, q as o, s as r, E as d, p, t as u, p as E, B as l, v as n, F as S, y as m, u as w, w as x, z as f, x as g } from "./index-
|
|
1
|
+
import { A as i, r as t, q as o, s as r, E as d, p, t as u, p as E, B as l, v as n, F as S, y as m, u as w, w as x, z as f, x as g } from "./index-BKOKfAJp.mjs";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
export {
|
|
4
4
|
i as ArticleCompareEditor,
|