fika-editor 3.0.39 → 3.0.40
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.
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import type { PPTElementOutline, TableCellStyle } from '../../../../types/slides';
|
|
2
2
|
/**
|
|
3
|
-
* Compute table cell box styles from outline and optional cell style.
|
|
3
|
+
* Compute table cell box styles from outline and optional cell style. The
|
|
4
|
+
* cell's vertical alignment lives here (`vertical-align` on the `td`), so the
|
|
5
|
+
* text box inside can stay a plain block and inline math flows with the text.
|
|
4
6
|
*/
|
|
5
7
|
export declare const getCellStyle: (outline: PPTElementOutline, style?: TableCellStyle) => any;
|
|
6
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Compute table cell text layout styles from optional cell style.
|
|
10
|
+
*/
|
|
11
|
+
export declare const getTextStyle: (_cellMinHeight: number, style?: TableCellStyle) => any;
|
|
7
12
|
/**
|
|
8
13
|
* Render a table cell's stored source for display. Plain text keeps the legacy
|
|
9
14
|
* newline/space escaping; cells whose source contains math (`$…$`, `$$…$$`,
|