Browse Source

fix: Typo

pull/7046/head
Muhammed Mustafa 12 months ago
parent
commit
6bd8193df0
  1. 2
      packages/nc-gui/components/cell/RichText/SelectedBubbleMenu.vue
  2. 2
      packages/nc-gui/helpers/dbTiptapExtensions/links.ts

2
packages/nc-gui/components/cell/RichText/SelectedBubbleMenu.vue

@ -68,7 +68,7 @@ const onToggleLink = () => {
} }
setTimeout(() => { setTimeout(() => {
const linkInput = document.querySelector('.docs-link-option-input') const linkInput = document.querySelector('.nc-text-area-rich-link-option-input')
if (linkInput) { if (linkInput) {
;(linkInput as any).focus() ;(linkInput as any).focus()
} }

2
packages/nc-gui/helpers/dbTiptapExtensions/links.ts

@ -52,7 +52,7 @@ export const Link = TiptapLink.extend({
.run() .run()
setTimeout(() => { setTimeout(() => {
const linkInput = document.querySelector('.docs-link-option-input') const linkInput = document.querySelector('.nc-text-area-rich-link-option-input')
if (linkInput) { if (linkInput) {
;(linkInput as any).focus() ;(linkInput as any).focus()
} }

Loading…
Cancel
Save