@worktile/theia 19.2.0-next.2 → 19.2.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
package/utils/dom.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Element } from 'slate';
|
|
1
|
+
import { Editor, Element } from 'slate';
|
|
2
2
|
import { DOMElement } from 'slate-dom';
|
|
3
3
|
/** Converts CSS pixel values to numbers, eg "123px" to 123. Returns NaN for non pixel values. */
|
|
4
4
|
export declare function coercePixelsFromCssValue(cssValue: string): number;
|
|
@@ -8,3 +8,4 @@ export declare function getColsTotalWidth(cols: HTMLTableColElement[]): number;
|
|
|
8
8
|
export declare function getRowsTotalHeight(rows: HTMLTableRowElement[]): number;
|
|
9
9
|
export declare function useElementStyle(el: HTMLElement, element: Element): void;
|
|
10
10
|
export declare function getElementClassByPrefix(el: DOMElement, prefix: string): any;
|
|
11
|
+
export declare function toggleHeadingRelatedElement(editor: Editor, element: Element, isVisible: boolean): void;
|