fix fullscreen editor

This commit is contained in:
Ruben Fiszel
2023-04-17 20:25:57 +02:00
parent 7b482593ee
commit 0aeabdebfd
2 changed files with 2 additions and 2 deletions

View File

@@ -569,7 +569,7 @@
callback: (editor: meditor.IStandaloneCodeEditor) => void,
keybindings: number[] = []
) {
editor.addAction({
editor?.addAction({
id,
label,
keybindings,

View File

@@ -28,7 +28,7 @@
<ScriptEditor
noSyncFromGithub
lang={inlineScript.language}
path={inlineScript.path}
path={inlineScript.path ? inlineScript.path + '_fullscreen' : undefined}
fixedOverflowWidgets={false}
bind:code={inlineScript.content}
bind:schema={inlineScript.schema}