@vscode/web-editors 0.0.2-102 → 0.0.2-104

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.
package/dist/index.js CHANGED
@@ -4168,9 +4168,12 @@ const webEditorHostInterface = defineInterface({
4168
4168
  basedOnServerRevision: number().int().nonnegative()
4169
4169
  })),
4170
4170
  /**
4171
- * The editor reports its laid-out content height (px). An embedding host
4172
- * that reserves block space (e.g. an iframe with no intrinsic height)
4173
- * uses this to size the frame once the guest has measured itself.
4171
+ * The editor reports its preferred content height (px): the height it needs
4172
+ * to show its content without scrolling, independent of the frame's current
4173
+ * height. Measure the content, not the viewport or document, which follow
4174
+ * the frame. An embedding host that reserves block space (e.g. an iframe
4175
+ * with no intrinsic height) sizes the frame to it and uses it as the
4176
+ * automatic height that user resizing snaps back to.
4174
4177
  */
4175
4178
  reportSize: notificationType(object({ height: number().nonnegative() }))
4176
4179
  });