slate-angular 19.1.2 → 19.3.0
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/package.json
CHANGED
|
@@ -10,3 +10,4 @@ export declare const getClipboardData: (dataTransfer?: DataTransfer) => Promise<
|
|
|
10
10
|
* @returns void
|
|
11
11
|
*/
|
|
12
12
|
export declare const setClipboardData: (clipboardData: ClipboardData, wrapper: HTMLElement, attach: HTMLElement, dataTransfer?: Pick<DataTransfer, "getData" | "setData">) => Promise<void>;
|
|
13
|
+
export declare const fallbackCopyText: (text: string) => Promise<void>;
|
package/utils/dom.d.ts
CHANGED
|
@@ -16,3 +16,4 @@ export declare const getPlainText: (domNode: DOMNode) => string;
|
|
|
16
16
|
* Get the dom selection from Shadow Root if possible, otherwise from the document
|
|
17
17
|
*/
|
|
18
18
|
export declare const getSelection: (root: Document | ShadowRoot) => Selection | null;
|
|
19
|
+
export declare const getContentHeight: (element: Element) => number;
|