feat(editor): select language
This commit is contained in:
parent
c85d9bb913
commit
0acc0f7689
6 changed files with 97 additions and 7 deletions
|
@ -30,7 +30,7 @@ const { editor } = useTiptap({
|
|||
get: () => draft.params.status,
|
||||
set: newVal => draft.params.status = newVal,
|
||||
}),
|
||||
placeholder: draft.placeholder,
|
||||
placeholder: computed(() => draft.placeholder),
|
||||
autofocus: shouldExpanded,
|
||||
onSubmit: publish,
|
||||
onFocus() { isExpanded = true },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue