@vscode/markdown-editor 0.0.2-36 → 0.0.2-38
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.d.ts +2 -20
- package/dist/index.js +1106 -1228
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/view/editor.css +0 -60
package/dist/index.d.ts
CHANGED
|
@@ -1146,8 +1146,6 @@ export declare class EditorView extends Disposable {
|
|
|
1146
1146
|
private readonly _gutterMarkersView;
|
|
1147
1147
|
private readonly _diffHighlightsView;
|
|
1148
1148
|
private _readonlyToggleButton;
|
|
1149
|
-
private _readonlyEditAtButton;
|
|
1150
|
-
private _readonlyEditTarget;
|
|
1151
1149
|
/**
|
|
1152
1150
|
* The mounted block sequence, in source order. Rebuilt (not mutated) each
|
|
1153
1151
|
* frame by {@link DocumentViewNode.create}; the view just swaps one
|
|
@@ -1241,21 +1239,6 @@ export declare class EditorView extends Disposable {
|
|
|
1241
1239
|
* for any CSS hooks.
|
|
1242
1240
|
*/
|
|
1243
1241
|
private _setupReadonlyToggle;
|
|
1244
|
-
/**
|
|
1245
|
-
* Creates the transient click-local affordance that unlocks the editor at the
|
|
1246
|
-
* source offset captured by {@link showReadonlyEditAt}.
|
|
1247
|
-
*/
|
|
1248
|
-
private _setupReadonlyEditAt;
|
|
1249
|
-
/**
|
|
1250
|
-
* Shows an unlock affordance beside a locked-content click. `point` is in
|
|
1251
|
-
* viewport client coordinates; `offset` is retained so activation restores
|
|
1252
|
-
* the caret to the exact source position represented by that click.
|
|
1253
|
-
*/
|
|
1254
|
-
showReadonlyEditAt(point: Point2D, offset: SourceOffset): void;
|
|
1255
|
-
private _revealReadonlyEditAt;
|
|
1256
|
-
private _readonlyEditVisibleRect;
|
|
1257
|
-
/** Hides the transient click-local unlock affordance, if present. */
|
|
1258
|
-
hideReadonlyEditAt(): void;
|
|
1259
1242
|
/** Draws attention to the mode toggle after text input is attempted while locked. */
|
|
1260
1243
|
showReadonlyEditingAttempt(): void;
|
|
1261
1244
|
focus(): void;
|
|
@@ -1357,9 +1340,8 @@ export declare interface EditorViewOptions extends BlockViewOptions {
|
|
|
1357
1340
|
readonly classNames?: readonly string[];
|
|
1358
1341
|
/**
|
|
1359
1342
|
* Whether to render the sticky edit/read-only toggle at the top-right edge
|
|
1360
|
-
* of the content
|
|
1361
|
-
*
|
|
1362
|
-
* on selection rendering.
|
|
1343
|
+
* of the content. Defaults to `true`; set to `false` to omit it (e.g. in
|
|
1344
|
+
* fixtures that focus on selection rendering).
|
|
1363
1345
|
*/
|
|
1364
1346
|
readonly showReadonlyToggle?: boolean;
|
|
1365
1347
|
/**
|