From 4e0968d9a4385d1e9c30c008fce19e11067bcea3 Mon Sep 17 00:00:00 2001 From: tienifr Date: Sat, 18 May 2024 17:13:00 +0700 Subject: [PATCH 1/3] fix Inconsistency while pasting highlighted mention in room and expense description --- src/pages/RoomDescriptionPage.tsx | 1 + src/pages/workspace/WorkspaceNewRoomPage.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/pages/RoomDescriptionPage.tsx b/src/pages/RoomDescriptionPage.tsx index 3992dff188e2..2cab7a4ed40b 100644 --- a/src/pages/RoomDescriptionPage.tsx +++ b/src/pages/RoomDescriptionPage.tsx @@ -97,6 +97,7 @@ function RoomDescriptionPage({report, policies}: RoomDescriptionPageProps) { value={description} onChangeText={handleReportDescriptionChange} autoCapitalize="none" + isMarkdownEnabled /> diff --git a/src/pages/workspace/WorkspaceNewRoomPage.tsx b/src/pages/workspace/WorkspaceNewRoomPage.tsx index 5716812ced16..5004bac942cd 100644 --- a/src/pages/workspace/WorkspaceNewRoomPage.tsx +++ b/src/pages/workspace/WorkspaceNewRoomPage.tsx @@ -295,6 +295,7 @@ function WorkspaceNewRoomPage({policies, reports, formState, session, activePoli maxLength={CONST.REPORT_DESCRIPTION.MAX_LENGTH} autoCapitalize="none" shouldInterceptSwipe + isMarkdownEnabled /> From d3e3e9234ba58c90c1e595c68b3c560ab43caa73 Mon Sep 17 00:00:00 2001 From: tienifr Date: Wed, 29 May 2024 01:35:15 +0700 Subject: [PATCH 2/3] fix cannot add new line using enter --- src/CONST.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CONST.ts b/src/CONST.ts index d2be946cdb2b..02de81e61aa4 100755 --- a/src/CONST.ts +++ b/src/CONST.ts @@ -3386,6 +3386,8 @@ const CONST = { * @deprecated Please stop using the accessibilityRole prop and use the role prop instead. */ IMAGE: 'image', + + TEXTBOX: 'textbox', }, /** * Acceptable values for the `role` attribute on react native components. From 902b5605399eb1c0494bf4fd95b012018cb3c277 Mon Sep 17 00:00:00 2001 From: Tienifr <113963320+tienifr@users.noreply.github.com> Date: Mon, 10 Jun 2024 14:32:44 +0700 Subject: [PATCH 3/3] fix add comment to TEXTBOX Co-authored-by: Shubham Agrawal <58412969+shubham1206agra@users.noreply.github.com> --- src/CONST.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CONST.ts b/src/CONST.ts index 02de81e61aa4..6a2b9a72279f 100755 --- a/src/CONST.ts +++ b/src/CONST.ts @@ -3387,6 +3387,9 @@ const CONST = { */ IMAGE: 'image', + /** + * @deprecated Please stop using the accessibilityRole prop and use the role prop instead. + */ TEXTBOX: 'textbox', }, /**