mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-22 03:43:11 +08:00

Code blocks in tinymce could sometimes end up exploded into the sub elements of the codemirror display. This changes the strategy to render codemirror within the shadow dom of a custom element while preserving the normal pre/code DOM structure. Still a little instability when moving/adding code blocks within details blocks but much harder to break things now.