mmhglobal-dynamicform 2.44.1 → 2.44.3
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/README.md +11 -0
- package/esm2020/lib/ztexteditor/ztexteditor.component.mjs +262 -9
- package/fesm2015/mmhglobal-dynamicform.mjs +276 -8
- package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
- package/fesm2020/mmhglobal-dynamicform.mjs +261 -8
- package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
- package/lib/ztexteditor/ztexteditor.component.d.ts +19 -0
- package/package.json +1 -1
|
@@ -51,8 +51,14 @@ export declare class ZtexteditorComponent extends InputFieldBase implements ZCom
|
|
|
51
51
|
* Returns true when the event is handled and default paste is prevented.
|
|
52
52
|
*/
|
|
53
53
|
private handleCommonSymbolTags;
|
|
54
|
+
private normalizeLineEndings;
|
|
55
|
+
private insertPlainTextWithEditorLineBreaks;
|
|
56
|
+
private plainTextToEditorHtml;
|
|
57
|
+
private escapeHtml;
|
|
54
58
|
/** Normalize text nodes inside pasted HTML without touching tags, styles, links, or image attributes. */
|
|
55
59
|
private normalizePastedHtml;
|
|
60
|
+
private removeEmptyParagraphs;
|
|
61
|
+
private isEmptyParagraph;
|
|
56
62
|
/** Normalize known paste symbol variants from Office/email content into stable display characters. */
|
|
57
63
|
private normalizePastedText;
|
|
58
64
|
private applyCustomSymbolReplacements;
|
|
@@ -67,6 +73,19 @@ export declare class ZtexteditorComponent extends InputFieldBase implements ZCom
|
|
|
67
73
|
onOffCompressMode(): void;
|
|
68
74
|
get compressionToolbarIcon(): string;
|
|
69
75
|
get compressionToolbarTitle(): string;
|
|
76
|
+
applyList(command: 'insertUnorderedList' | 'insertOrderedList'): void;
|
|
77
|
+
private toggleHardBreakList;
|
|
78
|
+
private findAncestorRange;
|
|
79
|
+
private findSelectedListRange;
|
|
80
|
+
private findSelectedHardBreakParagraphRange;
|
|
81
|
+
private getParagraphHardBreakLines;
|
|
82
|
+
private buildSelectedParagraphListHtml;
|
|
83
|
+
private getParagraphLineRanges;
|
|
84
|
+
private getListItemLines;
|
|
85
|
+
private nodeToHardBreakText;
|
|
86
|
+
private hasHardBreak;
|
|
87
|
+
private linesToHardBreakParagraphHtml;
|
|
88
|
+
private replaceRangeWithHtml;
|
|
70
89
|
private enterAsLineBreakPlugin;
|
|
71
90
|
/** Focus editor if available. Returns true if focus succeeded. */
|
|
72
91
|
focus(): boolean;
|