@wizishop/wizi-block 4.2.32-beta → 4.2.33-beta
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/bundles/wizishop-wizi-block.umd.js +118 -103
- package/bundles/wizishop-wizi-block.umd.js.map +1 -1
- package/bundles/wizishop-wizi-block.umd.min.js +1 -1
- package/bundles/wizishop-wizi-block.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/editorjs/editorjs.component.js +21 -12
- package/esm2015/lib/shared/components/editorjs/tools/inline/bold-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/inline/capitalize-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/inline/italic-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/inline/link-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/inline/strike-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/inline/subscript-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/inline/superscript-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/inline/tool-type/inline-style-tool.component.js +100 -64
- package/esm2015/lib/shared/components/editorjs/tools/inline/tool-type/text-tool.component.js +1 -18
- package/esm2015/lib/shared/components/editorjs/tools/inline/underline-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/ordered-list-tool.component.js +2 -2
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/quote-tool.component.js +2 -2
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/text-align-tool.component.js +2 -2
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/text-type-tool.component.js +2 -2
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/tool-type/paragraph-style-tool.component.js +2 -18
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/tool-type/text-edition.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/unordered-list-tool.component.js +2 -2
- package/esm2015/lib/shared/components/editorjs/tools/utils/editorjs-tool.component.js +8 -1
- package/fesm2015/wizishop-wizi-block.js +132 -113
- package/fesm2015/wizishop-wizi-block.js.map +1 -1
- package/lib/shared/components/editorjs/editorjs.component.d.ts +1 -0
- package/lib/shared/components/editorjs/tools/inline/bold-tool.component.d.ts +1 -1
- package/lib/shared/components/editorjs/tools/inline/capitalize-tool.component.d.ts +1 -1
- package/lib/shared/components/editorjs/tools/inline/italic-tool.component.d.ts +1 -1
- package/lib/shared/components/editorjs/tools/inline/link-tool.component.d.ts +1 -1
- package/lib/shared/components/editorjs/tools/inline/strike-tool.component.d.ts +1 -1
- package/lib/shared/components/editorjs/tools/inline/subscript-tool.component.d.ts +1 -1
- package/lib/shared/components/editorjs/tools/inline/superscript-tool.component.d.ts +1 -1
- package/lib/shared/components/editorjs/tools/inline/tool-type/inline-style-tool.component.d.ts +2 -0
- package/lib/shared/components/editorjs/tools/inline/tool-type/text-tool.component.d.ts +0 -1
- package/lib/shared/components/editorjs/tools/inline/underline-tool.component.d.ts +1 -1
- package/lib/shared/components/editorjs/tools/paragraph/tool-type/paragraph-style-tool.component.d.ts +0 -1
- package/lib/shared/components/editorjs/tools/utils/editorjs-tool.component.d.ts +2 -0
- package/package.json +1 -1
- package/wizishop-wizi-block.metadata.json +1 -1
|
@@ -15,6 +15,7 @@ export declare class EditorJsComponent implements OnInit, OnDestroy {
|
|
|
15
15
|
timeoutHandle: any;
|
|
16
16
|
timeoutTextEditionHandle: any;
|
|
17
17
|
onChangeTimeoutHandle: any;
|
|
18
|
+
editorInitialized: boolean;
|
|
18
19
|
wrapperTags: string;
|
|
19
20
|
constructor(translateService: TranslateService, editorJSConversionService: EditorJSConversionService, editorJSTranslationService: EditorJSTranslationService);
|
|
20
21
|
ngOnInit(): Promise<void>;
|
package/lib/shared/components/editorjs/tools/inline/tool-type/inline-style-tool.component.d.ts
CHANGED
|
@@ -30,9 +30,11 @@ export declare abstract class InlineStyleTool extends EditorJSTool {
|
|
|
30
30
|
private findStyleNode;
|
|
31
31
|
private createElement;
|
|
32
32
|
private removeChildrenClasses;
|
|
33
|
+
parentHasStyle(currentElement: HTMLElement, referenceElement: HTMLElement): boolean;
|
|
33
34
|
private cleanupContainer;
|
|
34
35
|
private hasNoAttributes;
|
|
35
36
|
private identicalClassList;
|
|
37
|
+
private identicalAttributes;
|
|
36
38
|
private identicalInlineStyle;
|
|
37
39
|
private sortInlineStyle;
|
|
38
40
|
private getInlineStyle;
|
package/lib/shared/components/editorjs/tools/paragraph/tool-type/paragraph-style-tool.component.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ export declare abstract class ParagraphStyleTool extends EditorJSTool {
|
|
|
14
14
|
private getCurrentParagraph;
|
|
15
15
|
private changeContainerTag;
|
|
16
16
|
private changeCurrentClass;
|
|
17
|
-
findParentModifier(element: HTMLElement): HTMLElement | null;
|
|
18
17
|
}
|
|
19
18
|
export declare var listApi: any;
|
|
20
19
|
export declare var listEditor: any;
|
|
@@ -10,6 +10,7 @@ export declare class AttributeObject {
|
|
|
10
10
|
value: string;
|
|
11
11
|
}
|
|
12
12
|
export declare abstract class EditorJSTool {
|
|
13
|
+
api: any;
|
|
13
14
|
parentEditor: HTMLDivElement;
|
|
14
15
|
textContainers: string;
|
|
15
16
|
currentSelection?: Selection;
|
|
@@ -25,6 +26,7 @@ export declare abstract class EditorJSTool {
|
|
|
25
26
|
resetUserSelection(): void;
|
|
26
27
|
collapseSelection(): void;
|
|
27
28
|
findParentEditor(): HTMLDivElement | null;
|
|
29
|
+
findParentModifier(): HTMLElement | null;
|
|
28
30
|
clear(): void;
|
|
29
31
|
private getTextNodes;
|
|
30
32
|
}
|