font settings
This commit is contained in:
parent
1ded398468
commit
4959bff060
10 changed files with 31 additions and 30 deletions
|
|
@ -67,6 +67,7 @@ export function initEditor({ initialCode = '', onChange, onEvaluate, onStop, roo
|
|||
const initialSettings = Object.keys(compartments).map((key) =>
|
||||
compartments[key].of(extensions[key](parseBooleans(settings[key]))),
|
||||
);
|
||||
|
||||
initTheme(settings.theme);
|
||||
let state = EditorState.create({
|
||||
doc: initialCode,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue