@ai-matrx/rich-editor 0.5.3 → 0.5.4
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.4
|
|
4
|
+
### Images in Write survive a reload (2026-10-08)
|
|
5
|
+
|
|
6
|
+
- Write's image island draws through rich-content's `DurableMarkdownImg` — the same image Read and Split draw: an uploaded platform file loads through the authenticated blob lane, a remote image obeys the image policy. It used to set the raw `files.matrxserver.com` URL, which drew right after upload and broke after a reload (live, notes).
|
|
7
|
+
|
|
8
|
+
Consumer action: none.
|
|
9
|
+
|
|
3
10
|
## 0.5.3
|
|
4
11
|
### The toolbar keeps more buttons in a short row (2026-10-08)
|
|
5
12
|
|
|
@@ -6,6 +6,7 @@ import { NodeViewWrapper } from "@tiptap/react";
|
|
|
6
6
|
import { Popover, PopoverContent, PopoverTrigger } from "@ai-matrx/design-system";
|
|
7
7
|
import { Braces, Sigma } from "lucide-react";
|
|
8
8
|
import { cn } from "@ai-matrx/design-system";
|
|
9
|
+
import { DurableMarkdownImg } from "@ai-matrx/rich-content/display/chat-markdown/ConfigurableMarkdownContent";
|
|
9
10
|
import { useRichEditorContext } from "../../editor/RichEditorContext.js";
|
|
10
11
|
import { IslandCodeEditor } from "../../islands/IslandCodeEditor.js";
|
|
11
12
|
import { IslandPreview } from "../../islands/IslandPreview.js";
|
|
@@ -148,7 +149,7 @@ $$`, islandType: "math_block" }) })
|
|
|
148
149
|
const image = islandType === "md_image" ? imageParts(raw) : null;
|
|
149
150
|
if (image) {
|
|
150
151
|
return /* @__PURE__ */ jsx(NodeViewWrapper, { as: "span", className: "rich-editor-inline-island", contentEditable: false, children: /* @__PURE__ */ jsx(
|
|
151
|
-
|
|
152
|
+
DurableMarkdownImg,
|
|
152
153
|
{
|
|
153
154
|
src: image.src,
|
|
154
155
|
alt: image.alt,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/rich-editor",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"description": "The AI Matrx editor: Visual (Tiptap), Source (CodeMirror), Preview, the markdown formatting command layer, and edit-in-place — over @ai-matrx/rich-content. Consumers that only render never install it.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -90,12 +90,12 @@
|
|
|
90
90
|
"@tiptap/suggestion": "^3.31.3",
|
|
91
91
|
"github-slugger": "^2.0.0",
|
|
92
92
|
"lucide-react": "^1.48.0",
|
|
93
|
+
"@ai-matrx/alchemy": "latest",
|
|
93
94
|
"@ai-matrx/agents": "latest",
|
|
94
95
|
"@ai-matrx/content-ir": "latest",
|
|
95
96
|
"@ai-matrx/design-system": "latest",
|
|
96
|
-
"@ai-matrx/alchemy": "latest",
|
|
97
|
-
"@ai-matrx/kit": "latest",
|
|
98
97
|
"@ai-matrx/print": "latest",
|
|
98
|
+
"@ai-matrx/kit": "latest",
|
|
99
99
|
"@ai-matrx/rich-content": "latest"
|
|
100
100
|
},
|
|
101
101
|
"peerDependencies": {
|