microboard-temp 0.1.24 → 0.1.25
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/cjs/browser.js +5633 -5629
- package/dist/cjs/index.js +5633 -5629
- package/dist/cjs/node.js +5639 -5635
- package/dist/esm/browser.js +5633 -5629
- package/dist/esm/index.js +5633 -5629
- package/dist/esm/node.js +5639 -5635
- package/dist/types/Items/RichText/RichText.d.ts +4 -2
- package/package.json +1 -1
|
@@ -9,20 +9,22 @@ import { BaseRange, BaseSelection, Descendant, Operation as SlateOp } from "slat
|
|
|
9
9
|
import { ItemType, Mbr, Point, RichTextData, Transformation } from "..";
|
|
10
10
|
import { HorisontalAlignment, VerticalAlignment } from "../Alignment";
|
|
11
11
|
import { DrawingContext } from "../DrawingContext";
|
|
12
|
+
import { Geometry } from "../Geometry";
|
|
12
13
|
import { LinkTo } from "../LinkTo/LinkTo";
|
|
13
14
|
import { BlockNode, BlockType } from "./Editor/BlockNode";
|
|
14
15
|
import { TextStyle } from "./Editor/TextNode";
|
|
15
16
|
import { EditorContainer } from "./EditorContainer";
|
|
16
17
|
import { RichTextOperation } from "./RichTextOperations";
|
|
17
|
-
import { BaseItem } from "Items/BaseItem/BaseItem";
|
|
18
18
|
export declare function isEditInProcess(): boolean;
|
|
19
19
|
export declare function toggleEdit(value: boolean): void;
|
|
20
20
|
/**
|
|
21
21
|
* A geometric item to render a rich text on a DrawingContext.
|
|
22
22
|
*
|
|
23
23
|
*/
|
|
24
|
-
export declare class RichText extends
|
|
24
|
+
export declare class RichText extends Mbr implements Geometry {
|
|
25
|
+
private board;
|
|
25
26
|
container: Mbr;
|
|
27
|
+
private id;
|
|
26
28
|
readonly transformation: Transformation;
|
|
27
29
|
placeholderText: string;
|
|
28
30
|
isInShape: boolean;
|