Skip to content

Commit 5e35dbf

Browse files
committed
[ZEPPELIN-6294] chore: add a comment for editorSettingTriggerAllowed
1 parent 6c993a0 commit 5e35dbf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zeppelin-web-angular/src/app/pages/workspace/notebook/paragraph/code-editor/code-editor.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ export class NotebookParagraphCodeEditorComponent implements OnChanges, OnDestro
6161
private monacoDisposables: IDisposable[] = [];
6262
height = 18;
6363
interpreterName?: string;
64+
// Prevents EDITOR_SETTING from triggering before the appropriate event:
65+
// For CLONE_PARAGRAPH, waits for PARAGRAPH; for INSERT_PARAGRAPH, waits only for PARAGRAPH_ADDED.
6466
editorSettingTriggerAllowed: boolean = false;
6567

6668
autoAdjustEditorHeight() {

0 commit comments

Comments
 (0)