Environment
- Nuxt 4.2.2
- Nuxt UI 4.3.0
New Nuxt UI component UEditor has the possibility to work with markdown. However any change to its modelValue outside this editor breaks displaying markdown inside Editor. It converts all prose mirror display to raw text with markdown marks (like textarea).
Is this bug related to Nuxt or Vue?
Nuxt
Package
v4.x
Version
v4.3.0
Reproduction
Just try
<UEditor v-model="value" content-type="markdown"></UEditor>
<UTextarea v-model="value"></UTextarea>
when entering text in UEditor - markdown based on value is rendered inside it, also all changes are reflected in textarea.
when modifying value in Textarea - UEditor render text instead of markdown.
Description
UEditor used in markdown mode should always display rendered markdown. Even if its modelValue changes outside of editor.
Additional context
No response