@kedataindo/docflow-core 0.0.81 → 0.0.83
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/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -18,6 +18,16 @@ interface ToolbarItem {
|
|
|
18
18
|
label?: string;
|
|
19
19
|
action: string;
|
|
20
20
|
args?: unknown[];
|
|
21
|
+
/**
|
|
22
|
+
* Group this item into the toolbar's compact groups instead of rendering it
|
|
23
|
+
* as a flat button. Currently only `'insert'` (the "+" / Sisipkan dropdown)
|
|
24
|
+
* is supported; built-in insert actions (link, image, table, footnote, page
|
|
25
|
+
* break, …) are grouped automatically, so plugins only need this flag for
|
|
26
|
+
* their OWN actions.
|
|
27
|
+
*
|
|
28
|
+
* Defaults to `undefined` → flat toolbar button (previous behaviour).
|
|
29
|
+
*/
|
|
30
|
+
menu?: 'insert';
|
|
21
31
|
}
|
|
22
32
|
interface SlashCommand {
|
|
23
33
|
name: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,16 @@ interface ToolbarItem {
|
|
|
18
18
|
label?: string;
|
|
19
19
|
action: string;
|
|
20
20
|
args?: unknown[];
|
|
21
|
+
/**
|
|
22
|
+
* Group this item into the toolbar's compact groups instead of rendering it
|
|
23
|
+
* as a flat button. Currently only `'insert'` (the "+" / Sisipkan dropdown)
|
|
24
|
+
* is supported; built-in insert actions (link, image, table, footnote, page
|
|
25
|
+
* break, …) are grouped automatically, so plugins only need this flag for
|
|
26
|
+
* their OWN actions.
|
|
27
|
+
*
|
|
28
|
+
* Defaults to `undefined` → flat toolbar button (previous behaviour).
|
|
29
|
+
*/
|
|
30
|
+
menu?: 'insert';
|
|
21
31
|
}
|
|
22
32
|
interface SlashCommand {
|
|
23
33
|
name: string;
|