Skip to content

Commit 648c6ef

Browse files
committed
[ZEPPELIN-6294] chore: add a comment for editorSettingTriggerAllowed
1 parent b527a82 commit 648c6ef

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
@@ -62,6 +62,8 @@ export class NotebookParagraphCodeEditorComponent implements OnChanges, OnDestro
6262
private monacoDisposables: IDisposable[] = [];
6363
height = 18;
6464
interpreterName?: string;
65+
// Prevents EDITOR_SETTING from triggering before the appropriate event:
66+
// For CLONE_PARAGRAPH, waits for PARAGRAPH; for INSERT_PARAGRAPH, waits only for PARAGRAPH_ADDED.
6567
editorSettingTriggerAllowed: boolean = false;
6668

6769
autoAdjustEditorHeight() {

0 commit comments

Comments
 (0)