@servicetitan/dte-unlayer 0.149.0 → 0.151.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -83,7 +83,11 @@ export interface CreateUnlayerEditorProps {
83
83
  hideContentControls?: boolean;
84
84
  hideBodyMenuItem?: boolean;
85
85
  displayConditions?: boolean;
86
- /** Override portal target for the display-conditions dialog (defaults: shadow root when embedded, else `document.body`). */
86
+ /**
87
+ * Optional portal target for the display-conditions dialog. Prefer unset so the dialog
88
+ * stays under the host `AnvilProvider` (`.anvil2` CSS scope). When set, content is wrapped
89
+ * in `ThemeProvider` so Anvil2 styles still apply after portaling.
90
+ */
87
91
  displayConditionModalPortalContainer?: Element | DocumentFragment | null;
88
92
  enableHTMLEditing?: boolean;
89
93
  enableHTMLEditingReadonly?: boolean;