mirror of
https://codeberg.org/Sevichecc/Seigwai.git
synced 2025-04-30 07:49:30 +08:00
refactor: remove placeholder varible
This commit is contained in:
parent
98837926fe
commit
c96ddd6ce6
1 changed files with 1 additions and 2 deletions
|
@ -7,7 +7,6 @@ const { editor } = defineProps<{ editor: Editor }>()
|
|||
|
||||
const url = ref('')
|
||||
const showUrlInput = ref(false)
|
||||
const placeholder = ref('Add Link to text')
|
||||
const inputUrl = ref<HTMLInputElement | null>(null)
|
||||
|
||||
const openLinkInput = () => {
|
||||
|
@ -115,7 +114,7 @@ const setLink = () => {
|
|||
ref="inputUrl"
|
||||
v-model.trim="url"
|
||||
class="input input-sm focus:outline-none"
|
||||
:placeholder="placeholder"
|
||||
placeholder="Add Link to text"
|
||||
@blur="showUrlInput = false"
|
||||
>
|
||||
<button class="btn btn-sm btn-square" @click="setLink">
|
||||
|
|
Loading…
Reference in a new issue