]> BookStack Code Mirror - bookstack/commit
Added pre-render sizes to wysiwyg code blocks
authorDan Brown <redacted>
Fri, 25 Mar 2022 11:13:04 +0000 (11:13 +0000)
committerDan Brown <redacted>
Fri, 25 Mar 2022 11:13:04 +0000 (11:13 +0000)
commitd2b49084b082f0aa28ca6969884b88acb2c63b96
tree0b145bfb4d548d4e223db606b1ef83112e42e44e
parent8594f4258417e0e7a4a59c17d006d87dc84e9f3a
Added pre-render sizes to wysiwyg code blocks

Sets sizes on WYSIWYG code block sections based on content lines
as an early pre-codemirror height prediction to avoid excessive
jumping in the editor.

For #3326
resources/js/wysiwyg/plugin-codeeditor.js