]> BookStack Code Mirror - bookstack/commit
Replaced markdown preview display iframe with div
authorDan Brown <redacted>
Mon, 23 May 2022 14:16:23 +0000 (15:16 +0100)
committerDan Brown <redacted>
Mon, 23 May 2022 14:16:23 +0000 (15:16 +0100)
commit1d1186c901d200011183fa3eadd8636005884f53
treea3ed99c4b475addb5c69b3b370d0b031dffdd4c3
parent641a26cdf7bcf68bae7dc38597dd539d19bf5ee7
Replaced markdown preview display iframe with div

No longer need to use the iframe sandboxing techniques, since we now have
CSP rules in-place. Means that embed tags can load without CSP
complications.

Causes slight change to contents of `editor-markdown::setup` editor
event data, since we're changing the `displayEl` property.

Updates markdown editor component to make better use of the component
system.
resources/js/components/markdown-editor.js
resources/sass/_forms.scss
resources/views/pages/parts/markdown-editor.blade.php