mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 01:12:56 +08:00
demos: fix vmodel demo when using JSON data
This commit is contained in:
parent
225a86ec80
commit
ed18c65fa8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user