Updated markdown preview to update on diff-basis

Uses vdom system to diff and update the current markdown preview view
instead of requiring a full HTML replace change.
This should provide better performance, expecially where dynamically
loaded content such as iframes were in use.

Closes #3454
This commit is contained in:
Dan Brown
2022-06-07 16:07:28 +01:00
parent 3fe666f36a
commit e00d88f45d
4 changed files with 61 additions and 2 deletions

View File

@@ -28,6 +28,7 @@
"dropzone": "^5.9.3",
"markdown-it": "^13.0.1",
"markdown-it-task-lists": "^2.1.1",
"snabbdom": "^3.5.0",
"sortablejs": "^1.15.0"
}
}