Skip to content

Commit

Permalink
fix theme regression
Browse files Browse the repository at this point in the history
  • Loading branch information
blurymind committed Sep 12, 2024
1 parent 32b7587 commit 852d226
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/public/plugins/plugin-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -527,9 +527,8 @@ export var PluginEditor = function ({
window.addEventListener("previewErrors",this.onErrorsInPreview, false);
// SPLIT EDITOR
const {Split} = ace.require("ace/ext/split");
console.log({Split})
const container = document.getElementById('js-editor');
const split = new Split(container, 'ace/theme/monokai', 1);
const split = new Split(container, this.theme, 1);
const secondEditingSession = new EditSession("new text here");
const session = split.getEditor(0).session;
this.editor = split.getEditor(0);
Expand Down

0 comments on commit 852d226

Please sign in to comment.