@vscode/markdown-editor 0.0.2-17 → 0.0.2-19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/markdown-editor",
3
- "version": "0.0.2-17",
3
+ "version": "0.0.2-19",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -683,6 +683,14 @@ pre.md-unhandled-scroll.md-code-block {
683
683
  animation: md-cursor-blink 1s step-end infinite;
684
684
  }
685
685
 
686
+ /*
687
+ * Read-only mode retains the logical caret for selection and comment anchoring.
688
+ * Hide only its painted element so unlocking can restore it in place.
689
+ */
690
+ .md-editor.md-readonly .md-cursor {
691
+ visibility: hidden;
692
+ }
693
+
686
694
  @keyframes md-cursor-blink {
687
695
 
688
696
  0%,