@vscode/web-editors 0.0.2-103 → 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 +6 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
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
|
|
4172
|
-
*
|
|
4173
|
-
*
|
|
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
|
});
|