@usememos/editor 26.10.29 → 26.11.0

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.
@@ -459,6 +459,14 @@ export declare class Editor {
459
459
  private insertSourceMarkdown;
460
460
  private undo;
461
461
  private redo;
462
+ /**
463
+ * The rectangle for a selection with no text to measure (an empty block, or
464
+ * a caret next to an atom): the box of the content at `pos`. In source mode
465
+ * an empty line is an element of its own inside the text, so the box of the
466
+ * element at `node` stands in when it is one: the whole text's box would put
467
+ * the caret at the top of the document and scroll the view there.
468
+ */
469
+ private emptyRect;
462
470
  /** Scrolls the editor and the elements around it so the caret is visible. */
463
471
  private scrollCaretIntoView;
464
472
  destroy(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usememos/editor",
3
- "version": "26.10.29",
3
+ "version": "26.11.0",
4
4
  "description": "A block editor for Markdown. Zero runtime dependencies, with an optional React component.",
5
5
  "keywords": [
6
6
  "markdown",