#How to update Nuxt UI Editor components `modelValue` ?

4 messages · Page 1 of 1 (latest)

paper pelicanBOT
#

Hi @unborn oasis. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

The knowledge sources you provided don’t mention Nuxt UI or its Editor component at all, so I can’t see how v-model is implemented there or how it’s supposed to react to external changes.

Because of that, I can’t reliably say whether this is:

  • a bug in Nuxt UI Editor,
  • a limitation of how it parses markdown (e.g. only on certain events),
  • or a usage issue (e.g. needing a specific prop or method to re‑parse the content).

All I can infer from the general Vue/Nuxt reactivity material is that:

  • Updating a ref/useState that’s bound via v-model should normally cause the child component to reactively receive the new value. [Nuxt state]
  • If the component only parses markdown on certain lifecycle hooks or events, changing the bound value might update the raw text but not trigger a re‑render of the formatted view unless the component explicitly watches the model value.

But there’s no concrete information in the sources about Nuxt UI Editor’s behavior or any workaround (such as a specific prop, method, or watcher pattern) to force it to re‑render.

Given these limits, the best I can suggest—without guessing beyond the sources—is:

  • Double‑check that the value you assign to v-model is a proper reactive ref (e.g. const content = ref('...')) and that you’re updating content.value, not a plain variable.
  • If that’s already the case, this is likely a Nuxt UI Editor–specific issue that isn’t covered in the provided material; you may need to check the Nuxt UI docs, its GitHub issues, or open a new issue describing the behavior.
#

If you can share the exact code snippet you’re using with v-model, I can at least compare it against the general reactivity patterns in the sources and tell you if anything looks off from a Nuxt/Vue standpoint.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

#

@unborn oasis Kapa.ai is still learning and improving, please let me know how I did by reacting below.