ids-enterprise-typings 17.3.0-beta.4 → 17.3.1
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/editor/soho-editor.d.ts +12 -4
- package/package.json +1 -1
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
interface SohoEditorButtons {
|
|
9
|
-
editor
|
|
10
|
-
source
|
|
9
|
+
editor?: Array<any>;
|
|
10
|
+
source?: Array<any>;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
interface SohoEditorRows {
|
|
@@ -20,23 +20,29 @@ interface SohoEditorRows {
|
|
|
20
20
|
*/
|
|
21
21
|
interface SohoEditorOptions {
|
|
22
22
|
buttons?: SohoEditorButtons;
|
|
23
|
-
|
|
23
|
+
excludeButtons?: SohoEditorButtons;
|
|
24
24
|
firstHeader?: string;
|
|
25
25
|
secondHeader?: string;
|
|
26
26
|
placeholder?: string;
|
|
27
|
+
delay?: number;
|
|
28
|
+
pasteAsPlainText?: boolean
|
|
27
29
|
anchor?: SohoEditorAnchor;
|
|
28
30
|
image?: SohoEditorOptionsImage;
|
|
29
31
|
onLinkClick?: (e: JQuery.TriggeredEvent, elem: any) => void;
|
|
30
32
|
showHtmlView?: boolean;
|
|
31
33
|
preview?: boolean;
|
|
32
34
|
rows?: SohoEditorRows;
|
|
35
|
+
paragraphSeparator?: string;
|
|
36
|
+
useFlexToolbar?: boolean;
|
|
37
|
+
useSourceFormatter?: boolean;
|
|
38
|
+
formatterTabsize?: number
|
|
33
39
|
attributes?: Array<Object> | Object;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
interface SohoEditorAnchor {
|
|
37
43
|
url?: string;
|
|
38
44
|
class?: string;
|
|
39
|
-
target?: 'Same window'|'New window'| any;
|
|
45
|
+
target?: 'Same window' | 'New window' | any;
|
|
40
46
|
isClickable?: boolean;
|
|
41
47
|
showIsClickable?: boolean;
|
|
42
48
|
}
|
|
@@ -100,4 +106,6 @@ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
|
|
|
100
106
|
* Soho Editor Event
|
|
101
107
|
*/
|
|
102
108
|
interface SohoEditorEvent {
|
|
109
|
+
api: any;
|
|
110
|
+
elem: JQuery;
|
|
103
111
|
}
|