From 50e9dfa12c59159e4f75f6fa06a90e5cbc0ba56f Mon Sep 17 00:00:00 2001 From: zhangzecong Date: Fri, 22 Nov 2024 10:16:34 +0800 Subject: [PATCH] =?UTF-8?q?[richEditor]APIextends=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E5=91=8A=E8=AD=A6=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangzecong --- api/@internal/component/ets/rich_editor.d.ts | 10 ++++++++++ api/@internal/component/ets/text_common.d.ts | 1 + 2 files changed, 11 insertions(+) diff --git a/api/@internal/component/ets/rich_editor.d.ts b/api/@internal/component/ets/rich_editor.d.ts index c72bd988b..ec98e84c0 100644 --- a/api/@internal/component/ets/rich_editor.d.ts +++ b/api/@internal/component/ets/rich_editor.d.ts @@ -2106,6 +2106,7 @@ declare interface PlaceholderStyle { /** * Defines span style option of RichEditor. * + * @extends RichEditorRange * @interface RichEditorSpanStyleOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 @@ -2113,6 +2114,7 @@ declare interface PlaceholderStyle { /** * Defines span style option of RichEditor. * + * @extends RichEditorRange * @interface RichEditorSpanStyleOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform @@ -2124,6 +2126,7 @@ declare interface RichEditorSpanStyleOptions extends RichEditorRange { } /** * Defines paragraph style option of RichEditor. * + * @extends RichEditorRange * @interface RichEditorParagraphStyleOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform @@ -2132,6 +2135,7 @@ declare interface RichEditorSpanStyleOptions extends RichEditorRange { } /** * Defines paragraph style option of RichEditor. * + * @extends RichEditorRange * @interface RichEditorParagraphStyleOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform @@ -2162,6 +2166,7 @@ declare interface RichEditorParagraphStyleOptions extends RichEditorRange { /** * Defines text span style option of RichEditor. * + * @extends RichEditorSpanStyleOptions * @interface RichEditorUpdateTextSpanStyleOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 @@ -2169,6 +2174,7 @@ declare interface RichEditorParagraphStyleOptions extends RichEditorRange { /** * Defines text span style option of RichEditor. * + * @extends RichEditorSpanStyleOptions * @interface RichEditorUpdateTextSpanStyleOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform @@ -2198,6 +2204,7 @@ declare interface RichEditorUpdateTextSpanStyleOptions extends RichEditorSpanSty /** * Defines image span style option of RichEditor. * + * @extends RichEditorSpanStyleOptions * @interface RichEditorUpdateImageSpanStyleOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 @@ -2205,6 +2212,7 @@ declare interface RichEditorUpdateTextSpanStyleOptions extends RichEditorSpanSty /** * Defines image span style option of RichEditor. * + * @extends RichEditorSpanStyleOptions * @interface RichEditorUpdateImageSpanStyleOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform @@ -2234,6 +2242,7 @@ declare interface RichEditorUpdateImageSpanStyleOptions extends RichEditorSpanSt /** * Defines symbol span style option of RichEditor. * + * @extends RichEditorSpanStyleOptions * @interface RichEditorUpdateSymbolSpanStyleOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform @@ -2242,6 +2251,7 @@ declare interface RichEditorUpdateImageSpanStyleOptions extends RichEditorSpanSt /** * Defines symbol span style option of RichEditor. * + * @extends RichEditorSpanStyleOptions * @interface RichEditorUpdateSymbolSpanStyleOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform diff --git a/api/@internal/component/ets/text_common.d.ts b/api/@internal/component/ets/text_common.d.ts index 62dbe15cd..f41befdd8 100644 --- a/api/@internal/component/ets/text_common.d.ts +++ b/api/@internal/component/ets/text_common.d.ts @@ -423,6 +423,7 @@ declare interface TextBaseController { /** * Define the text extended editing controller. * + * @extends TextBaseController * @interface TextEditControllerEx * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform