]> BookStack Code Mirror - bookstack/commit
Updated codeblock editor to work with fade animation
authorDan Brown <redacted>
Sat, 7 Dec 2019 16:54:34 +0000 (16:54 +0000)
committerDan Brown <redacted>
Sat, 7 Dec 2019 16:54:34 +0000 (16:54 +0000)
commit5a533fff8bc09e1520276c3fbb91740b432c8a3b
tree8734f70b62d00cc2ae38f3b1cb5908e963f7d57a
parenta6bbe4698741a5221f22fa7818a0a3037a54430a
Updated codeblock editor to work with fade animation

- Added fadeIn to animation JS service.
- Updated overlay to use anim service and to recieve a callback for
after-anim actions.
- Updated code editor popup to refresh Codemirror instance layout after
animation has completed.

Fixes #1672
resources/js/components/overlay.js
resources/js/services/animations.js
resources/js/services/code.js
resources/js/vues/code-editor.js