You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!document.getElementById('editor').innerHTML) {
How i solve it:
onSelectType(item) {
Setting the data to <mc-wysiwyg /> v-model
.....
// The trick to make it reactive
this.$nextTick(() => {
document.getElementById('editor').innerHTML = ''
});
},
Is there any better way?
The text was updated successfully, but these errors were encountered:
This could be considered as a bug, depending on the use-case. It isn't reactive for a purpose. If the highlighted line is removed, it will make typing hard as every time you would type, the cursor will go back to the start. You really might have to apply that work around if you want to it to be reactive.
This could be considered as a bug, depending on the use-case. It isn't reactive for a purpose. If the highlighted line is removed, it will make typing hard as every time you would type, the cursor will go back to the start. You really might have to apply that work around if you want to it to be reactive.
Step to reproduce:
Create a select element
Watch the data of the select onchange
Set v-model (nothing happens when I change the selected value)
I think the problem is due to this line:
vue-wysiwyg/src/McWysiwyg.vue
Line 188 in 196e876
How i solve it:
Is there any better way?
The text was updated successfully, but these errors were encountered: