]> BookStack Code Mirror - bookstack/commit
Made codemirror editor load a lot more efficient
authorDan Brown <redacted>
Sun, 31 Jan 2021 16:23:15 +0000 (16:23 +0000)
committerDan Brown <redacted>
Sun, 31 Jan 2021 16:26:54 +0000 (16:26 +0000)
commitbc1e84325c7edfb52b07c7e6bde881b09280c3ba
tree3fd5d278d517a3f406d2bb7bdfa0a9fe1813807a
parent44c41e9e4dbe31f071b8c87ffae77ad6737c2cbc
Made codemirror editor load a lot more efficient

Brings down total editor load time from about 11s to 7s from testing in
4x reduced CPU speed in chrome.
About 1.5 seconds of that is editor init/page load.
Post editor-init/page-load time is now 60% of previous from testing.

Related to #2518
resources/js/components/wysiwyg-editor.js
resources/js/services/code.js
Morty Proxy This is a proxified and sanitized view of the page, visit original site.