Skip to content

Commit

Permalink
fix: migrate NcRichContenteditable to v-model usage
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <[email protected]>
  • Loading branch information
Antreesy committed Dec 27, 2024
1 parent 777fd05 commit 2b66757
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/NewMessage/NewMessage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
:text="t('spreed','Adding a mention will only notify users who did not read the message.')" />
<NcRichContenteditable ref="richContenteditable"
:key="container"
:value.sync="text"
v-model="text"
:auto-complete="autoComplete"
:disabled="disabled"
:user-data="userData"
Expand Down
2 changes: 1 addition & 1 deletion src/components/UIShared/EditableTextField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
:use-extended-markdown="useMarkdown" />
<NcRichContenteditable v-else
ref="richContenteditable"
v-model="text"
dir="auto"
:value.sync="text"
:auto-complete="()=>{}"
:maxlength="maxLength"
:multiline="multiline"
Expand Down

0 comments on commit 2b66757

Please sign in to comment.