Subscribe on changes!

Interpolation in an elements slot creates invalid output if element is created with <component is> and has contentediable attribute

avatar
Aug 10th 2022

temporally use v-text to solve this problem

avatar
Aug 11th 2022

image

It will add a new text Node after press enter. Vue only patch the focused text Node when blur. That's why the textContent is incorrent.