fix fullscreen editor
This commit is contained in:
@@ -569,7 +569,7 @@
|
||||
callback: (editor: meditor.IStandaloneCodeEditor) => void,
|
||||
keybindings: number[] = []
|
||||
) {
|
||||
editor.addAction({
|
||||
editor?.addAction({
|
||||
id,
|
||||
label,
|
||||
keybindings,
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user