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:
Dan Brown
2023-04-16 23:48:45 +01:00
parent 74b4751a1c
commit 09fd0bc5b7
5 changed files with 228 additions and 210 deletions

View File

@ -127,7 +127,6 @@ export class CodeEditor extends Component {
this.loadHistory();
this.getPopup().show(() => {
Code.updateLayout(this.editor);
this.editor.focus();
}, () => {
this.addHistory()