mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-06 02:24:33 +08:00
CM6: Got WYSIWYG code blocks working
Required monkey-patch to work around potential codemirror issue with shadowdom+iframe usage. Also updated JS packages to latest versions.
This commit is contained in:
@ -127,7 +127,6 @@ export class CodeEditor extends Component {
|
||||
|
||||
this.loadHistory();
|
||||
this.getPopup().show(() => {
|
||||
Code.updateLayout(this.editor);
|
||||
this.editor.focus();
|
||||
}, () => {
|
||||
this.addHistory()
|
||||
|
Reference in New Issue
Block a user