]> BookStack Code Mirror - bookstack/commit
Updated markdown preview to update on diff-basis
authorDan Brown <redacted>
Tue, 7 Jun 2022 15:07:28 +0000 (16:07 +0100)
committerDan Brown <redacted>
Tue, 7 Jun 2022 15:07:28 +0000 (16:07 +0100)
commite00d88f45dc6f3ab8855aa10f8d9200f923f1bf5
treeace13145ace58a2742df922df34deb34bd185cff
parent3fe666f36a7642c7910e6e0dc2f44916931a00b1
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
package-lock.json
package.json
resources/js/components/markdown-editor.js
resources/js/services/vdom.js [new file with mode: 0644]
Morty Proxy This is a proxified and sanitized view of the page, visit original site.