@univerjs/docs-ui 0.5.3 → 0.5.4
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/lib/cjs/index.js +13 -13
- package/lib/es/facade.js +4 -6
- package/lib/es/index.js +408 -408
- package/lib/types/facade/f-document.d.ts +1 -3
- package/lib/umd/index.js +14 -14
- package/package.json +13 -12
|
@@ -16,15 +16,13 @@ export declare class FDocument {
|
|
|
16
16
|
redo(): Promise<boolean>;
|
|
17
17
|
/**
|
|
18
18
|
* Adds the specified text to the end of this text region.
|
|
19
|
-
* @param text
|
|
19
|
+
* @param text - The text to be added to the end of this text region.
|
|
20
20
|
*/
|
|
21
21
|
appendText(text: string): Promise<boolean>;
|
|
22
22
|
/**
|
|
23
23
|
* Sets the selection to a specified text range in the document.
|
|
24
|
-
*
|
|
25
24
|
* @param startOffset - The starting offset of the selection in the document.
|
|
26
25
|
* @param endOffset - The ending offset of the selection in the document.
|
|
27
|
-
*
|
|
28
26
|
* @example
|
|
29
27
|
* ```typescript
|
|
30
28
|
* document.setSelection(10, 20);
|