@usememos/editor 26.10.10 → 26.10.11

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
@@ -99,7 +99,8 @@
99
99
  /* Links: the text cursor while editing, so clicking places the caret. */
100
100
  .mbe-root a.mbe-link { cursor: text; }
101
101
  .mbe-root.mbe-readonly a.mbe-link { cursor: pointer; }
102
- .mbe-root .mbe-image { max-width: 100%; height: auto; margin: 8px 0; vertical-align: bottom; }
102
+ /* Inline even under a CSS reset such as Tailwind's preflight, which makes images blocks; alignment needs it. */
103
+ .mbe-root .mbe-image { display: inline-block; max-width: 100%; height: auto; margin: 8px 0; vertical-align: bottom; }
103
104
  /* An image alone in its paragraph moves within the column; it keeps its width. */
104
105
  .mbe-root .mbe-image-block[data-align="left"] { text-align: left; }
105
106
  .mbe-root .mbe-image-block[data-align="center"] { text-align: center; }
package/dist/style.css CHANGED
@@ -106,6 +106,7 @@
106
106
  cursor: pointer;
107
107
  }
108
108
  .mbe-root .mbe-image {
109
+ display: inline-block;
109
110
  max-width: 100%;
110
111
  height: auto;
111
112
  margin: 8px 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usememos/editor",
3
- "version": "26.10.10",
3
+ "version": "26.10.11",
4
4
  "description": "A block editor for Markdown. Zero runtime dependencies, with an optional React component.",
5
5
  "keywords": [
6
6
  "markdown",