@usememos/editor 26.10.11 → 26.10.12

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/base.css CHANGED
@@ -32,6 +32,9 @@
32
32
  .mbe-root > .mbe-block {
33
33
  margin: var(--mbe-block-gap) 0;
34
34
  position: relative;
35
+ /* Margins inside a block never merge with the block's own, so a block lays
36
+ out the same with or without .mbe-lazy, whose containment stops them. */
37
+ display: flow-root;
35
38
  }
36
39
  /* Block selection: whole blocks are highlighted and the caret is hidden.
37
40
  The shadow pads the highlight without moving any text. */
package/dist/style.css CHANGED
@@ -14,6 +14,7 @@
14
14
  .mbe-root > .mbe-block {
15
15
  margin: var(--mbe-block-gap) 0;
16
16
  position: relative;
17
+ display: flow-root;
17
18
  }
18
19
  .mbe-root.mbe-block-selecting {
19
20
  caret-color: transparent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usememos/editor",
3
- "version": "26.10.11",
3
+ "version": "26.10.12",
4
4
  "description": "A block editor for Markdown. Zero runtime dependencies, with an optional React component.",
5
5
  "keywords": [
6
6
  "markdown",