@linker-design-plus/tiny-peony 1.4.18 → 1.4.19
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/index.d.ts +6 -0
- package/dist/index.js +16 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +778 -772
- package/dist/index.mjs.map +1 -1
- package/dist/intersection/components/editor/editor.d.ts +2 -0
- package/dist/intersection/components/editor/index.d.ts +6 -0
- package/dist/intersection/hooks/use-editor.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -87,6 +87,7 @@ declare const TinyPeony: {
|
|
|
87
87
|
innerIsRange: () => boolean;
|
|
88
88
|
innerIsSelectionInDifferentParas: () => boolean;
|
|
89
89
|
innerIsSelectionContainsTag: (type: import("./typings/shared").PluginFlag) => boolean;
|
|
90
|
+
innerConvertToContent: (node: HTMLElement | Text) => string | undefined;
|
|
90
91
|
innerGetAnchorTtsMark: (anchor: import("./typings/index").IAnchor, startFromCursor?: boolean) => string;
|
|
91
92
|
innerGetAnchorTtsEmotionAndRole: (anchor: import("./typings/index").IAnchor) => [string, string | undefined];
|
|
92
93
|
innerIsAllMarkedByAnchor: () => boolean;
|
|
@@ -110,6 +111,7 @@ declare const TinyPeony: {
|
|
|
110
111
|
isRange(): boolean;
|
|
111
112
|
isSelectionInDifferentParas(): boolean;
|
|
112
113
|
isSelectionContainsTag(type: import("./typings/shared").PluginFlag): boolean;
|
|
114
|
+
convertToContent(node: HTMLElement | Text): string | undefined;
|
|
113
115
|
getAnchorTtsMark(anchor: import("./typings/index").IAnchor, startFromCursor?: boolean): string;
|
|
114
116
|
getAnchorTtsEmotionAndRole(anchor: import("./typings/index").IAnchor): [string, string | undefined];
|
|
115
117
|
isAllMarkedByAnchor(): boolean;
|
|
@@ -235,6 +237,7 @@ declare const TinyPeony: {
|
|
|
235
237
|
innerIsRange: () => boolean;
|
|
236
238
|
innerIsSelectionInDifferentParas: () => boolean;
|
|
237
239
|
innerIsSelectionContainsTag: (type: import("./typings/shared").PluginFlag) => boolean;
|
|
240
|
+
innerConvertToContent: (node: HTMLElement | Text) => string | undefined;
|
|
238
241
|
innerGetAnchorTtsMark: (anchor: import("./typings/index").IAnchor, startFromCursor?: boolean) => string;
|
|
239
242
|
innerGetAnchorTtsEmotionAndRole: (anchor: import("./typings/index").IAnchor) => [string, string | undefined];
|
|
240
243
|
innerIsAllMarkedByAnchor: () => boolean;
|
|
@@ -258,6 +261,7 @@ declare const TinyPeony: {
|
|
|
258
261
|
isRange(): boolean;
|
|
259
262
|
isSelectionInDifferentParas(): boolean;
|
|
260
263
|
isSelectionContainsTag(type: import("./typings/shared").PluginFlag): boolean;
|
|
264
|
+
convertToContent(node: HTMLElement | Text): string | undefined;
|
|
261
265
|
getAnchorTtsMark(anchor: import("./typings/index").IAnchor, startFromCursor?: boolean): string;
|
|
262
266
|
getAnchorTtsEmotionAndRole(anchor: import("./typings/index").IAnchor): [string, string | undefined];
|
|
263
267
|
isAllMarkedByAnchor(): boolean;
|
|
@@ -373,6 +377,7 @@ declare const TinyPeony: {
|
|
|
373
377
|
innerIsRange: () => boolean;
|
|
374
378
|
innerIsSelectionInDifferentParas: () => boolean;
|
|
375
379
|
innerIsSelectionContainsTag: (type: import("./typings/shared").PluginFlag) => boolean;
|
|
380
|
+
innerConvertToContent: (node: HTMLElement | Text) => string | undefined;
|
|
376
381
|
innerGetAnchorTtsMark: (anchor: import("./typings/index").IAnchor, startFromCursor?: boolean) => string;
|
|
377
382
|
innerGetAnchorTtsEmotionAndRole: (anchor: import("./typings/index").IAnchor) => [string, string | undefined];
|
|
378
383
|
innerIsAllMarkedByAnchor: () => boolean;
|
|
@@ -396,6 +401,7 @@ declare const TinyPeony: {
|
|
|
396
401
|
isRange(): boolean;
|
|
397
402
|
isSelectionInDifferentParas(): boolean;
|
|
398
403
|
isSelectionContainsTag(type: import("./typings/shared").PluginFlag): boolean;
|
|
404
|
+
convertToContent(node: HTMLElement | Text): string | undefined;
|
|
399
405
|
getAnchorTtsMark(anchor: import("./typings/index").IAnchor, startFromCursor?: boolean): string;
|
|
400
406
|
getAnchorTtsEmotionAndRole(anchor: import("./typings/index").IAnchor): [string, string | undefined];
|
|
401
407
|
isAllMarkedByAnchor(): boolean;
|