From f75896da281dca05722ec726f574f2e9471032e5 Mon Sep 17 00:00:00 2001 From: Saul Shanabrook Date: Wed, 19 Jun 2019 10:33:09 -0700 Subject: [PATCH] Added comments for layout --- packages/settingeditor/src/plugineditor.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/settingeditor/src/plugineditor.ts b/packages/settingeditor/src/plugineditor.ts index bbd36760b9d2..6b4fdcf6edef 100644 --- a/packages/settingeditor/src/plugineditor.ts +++ b/packages/settingeditor/src/plugineditor.ts @@ -44,6 +44,11 @@ export class PluginEditor extends Widget { this.addClass(PLUGIN_EDITOR_CLASS); const { commands, editorFactory, registry, rendermime } = options; + + // TODO: Remove this layout. We were using this before when we + // when we had a way to switch between the raw and table editor + // Now, the raw editor is the only child and probably could merged into + // this class directly in the future. const layout = (this.layout = new StackedLayout()); const { onSaveError } = Private;