@vscode/markdown-editor 0.0.2-86 → 0.0.2-88
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/web-editors.d.ts +4 -1
- package/dist/web-editors.js +835 -839
- package/dist/web-editors.js.map +1 -1
- package/package.json +2 -2
package/dist/web-editors.d.ts
CHANGED
|
@@ -147,9 +147,10 @@ declare class PhysicalIframePool implements IDisposable {
|
|
|
147
147
|
private readonly _frameRoot;
|
|
148
148
|
private readonly _scriptNonce;
|
|
149
149
|
private readonly _themeCss;
|
|
150
|
+
private readonly _iframeBootstrapUrl;
|
|
150
151
|
readonly descriptor: ResolvedIframeEmbeddedEditor;
|
|
151
152
|
private readonly _frames;
|
|
152
|
-
constructor(_provider: IframeEmbeddedEditorProvider, descriptor: ResolvedIframeEmbeddedEditor, _frameLayer: HTMLElement, _frameRoot: HTMLElement, _scriptNonce: string | undefined, _themeCss: string | (() => string) | undefined);
|
|
153
|
+
constructor(_provider: IframeEmbeddedEditorProvider, descriptor: ResolvedIframeEmbeddedEditor, _frameLayer: HTMLElement, _frameRoot: HTMLElement, _scriptNonce: string | undefined, _themeCss: string | (() => string) | undefined, _iframeBootstrapUrl: string | undefined);
|
|
153
154
|
get leasedFrames(): number;
|
|
154
155
|
get idleFrames(): number;
|
|
155
156
|
acquire(editor: VirtualizedIframeEmbeddedEditor): void;
|
|
@@ -285,6 +286,8 @@ export declare interface VirtualizedIframeEmbeddedEditorOptions {
|
|
|
285
286
|
readonly frameRoot?: HTMLElement;
|
|
286
287
|
readonly scriptNonce?: string;
|
|
287
288
|
readonly themeCss?: string | (() => string);
|
|
289
|
+
/** Optional same-origin document URL to load before writing the iframe content. */
|
|
290
|
+
readonly iframeBootstrapUrl?: string;
|
|
288
291
|
readonly defaultHeight?: number;
|
|
289
292
|
readonly onAmbiguous?: (language: string, providers: readonly CodeBlockEditorProviderDefinition[]) => void;
|
|
290
293
|
readonly onDidChange?: () => void;
|