diff --git a/packages/lib/services/plugins/reducer.ts b/packages/lib/services/plugins/reducer.ts index e63effd163e..de9a3be7366 100644 --- a/packages/lib/services/plugins/reducer.ts +++ b/packages/lib/services/plugins/reducer.ts @@ -5,6 +5,10 @@ import { ButtonSpec } from './api/types'; export interface PluginViewState { id: string; type: string; + // Note that this property will mean different thing depending on the `containerType`. If it's a + // dialog, it means that the dialog is opened. If it's a panel, it means it's visible/opened. If + // it's an editor, it means the editor is currently active (but it may not be visible - see + // JoplinViewsEditor). opened: boolean; buttons: ButtonSpec[]; fitToContent?: boolean;