demos: fix vmodel demo when using JSON data

This commit is contained in:
Philipp Kühn 2021-12-09 17:44:11 +01:00
parent 225a86ec80
commit ed18c65fa8

View File

@ -30,7 +30,7 @@ export default {
const isSame = this.editor.getHTML() === value
// JSON
// const isSame = this.editor.getJSON().toString() === value.toString()
// const isSame = JSON.stringify(this.editor.getJSON()) === JSON.stringify(value)
if (isSame) {
return