diff --git a/src/components/insertLinkModal/insertLinkModal.tsx b/src/components/insertLinkModal/insertLinkModal.tsx index 38bf2e99b..a4c6f20ff 100644 --- a/src/components/insertLinkModal/insertLinkModal.tsx +++ b/src/components/insertLinkModal/insertLinkModal.tsx @@ -115,7 +115,6 @@ export const InsertLinkModal = forwardRef( onPress={() => { setSelectedUrlType(item.id); if (item.id === 0) { - urlInputRef.current?.blur(); labelInputRef.current?.focus(); } else { labelInputRef.current?.blur(); @@ -142,7 +141,6 @@ export const InsertLinkModal = forwardRef( placeholderTextColor="#c1c5c7" autoCapitalize="none" innerRef={labelInputRef} - autoFocus /> ); diff --git a/src/components/markdownEditor/view/formats/applyWebLinkFormat.js b/src/components/markdownEditor/view/formats/applyWebLinkFormat.js index 982feec28..2f822170b 100644 --- a/src/components/markdownEditor/view/formats/applyWebLinkFormat.js +++ b/src/components/markdownEditor/view/formats/applyWebLinkFormat.js @@ -4,7 +4,6 @@ export const writeUrlTextHere = 'https://example.com'; export const writeTextHereString = 'Text here'; export default async ({ text, selection, setTextAndSelection, item, isImage = null }) => { - console.log('text, selection, item, isImage : ', text, selection, item, isImage); const imagePrefix = isImage ? '!' : ''; const itemText = item ? item.text : writeTextHereString; const itemUrl = item ? item.url : writeUrlTextHere; @@ -53,6 +52,5 @@ export default async ({ text, selection, setTextAndSelection, item, isImage = nu } } - console.log('newText for image : ', newText); setTextAndSelection({ text: newText, selection: newSelection }); };