@yoopta/editor 1.9.11-rc → 1.9.12-rc
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/contexts/YooptaContext/YooptaContext.d.ts +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5698 -3
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ type YooptaToolsMap = {
|
|
|
8
8
|
Toolbar: (props: any) => ReactElement;
|
|
9
9
|
ActionMenu: (props: any) => ReactElement;
|
|
10
10
|
ChatGPT: (props: any) => ReactElement;
|
|
11
|
+
LinkTool: (props: any) => ReactElement;
|
|
11
12
|
[x: string]: (props: any) => ReactElement;
|
|
12
13
|
};
|
|
13
14
|
export type YooptaContextReturnValues = {
|
|
@@ -33,6 +34,9 @@ export type ElementsMap = {
|
|
|
33
34
|
define: YooptaPluginType['defineElement'];
|
|
34
35
|
toggle: (options?: ToggleOptions) => void;
|
|
35
36
|
isActive: boolean;
|
|
37
|
+
options: {
|
|
38
|
+
displayLabel?: string;
|
|
39
|
+
};
|
|
36
40
|
};
|
|
37
41
|
};
|
|
38
42
|
export type MarksMap = {
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import classnames from 'classnames';
|
|
|
4
4
|
import { useElementSettings } from './contexts/NodeSettingsContext/NodeSettingsContext';
|
|
5
5
|
export { classnames as cx };
|
|
6
6
|
export { isKeyHotkey, isHotkey, isCodeHotkey } from 'is-hotkey';
|
|
7
|
+
export { enableBodyScroll, disableBodyScroll } from 'body-scroll-lock';
|
|
7
8
|
import { YooptaEditor } from './YooptaEditor';
|
|
8
9
|
export { isValidYooptaNodes } from './utils/validate';
|
|
9
10
|
export { generateId } from './utils/generateId';
|