Subscribe on changes!

Missed (not rendered) `v-for` element in `contenteditable` element

avatar
May 13th 2021

Version

3.0.11

Reproduction link

https://sfc.vuejs.org/#eyJBcHAudnVlIjoi...

Steps to reproduce

Delete the line with In word. (The entire line, not only the word)

What is expected?

Red
Cola
QWERTY
Lorem

What is actually happening?

Red
QWERTY
Lorem

Any additional comments

Screenshot

avatar
May 13th 2021

It works as expected in Firefox, but it does not work in Chromium.

avatar
May 13th 2021

You can't combine contenteditable with Vue controlled DOM output. Vue can only manipulate the DOM assuming it's not going to be mutated by other sources (wether contenteditable or direct DOM manipulation code)