@ai-matrx/rich-editor 0.2.6 → 0.2.7

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,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.7
4
+
5
+ - Root cause of "no Bold in notes Split's selection toolbar" (2026-10-07): the format provider was declared only by `visual/format-actions`, which only the Visual editor imports, so a page mounting just a textarea (`useTextareaFormatting`) or the Source view had no provider at all. Both now import `format/format-actions` themselves (module identity was fine: one copy of each module in the app bundle).
6
+
7
+ ### Consumer action
8
+
9
+ - None required.
10
+
3
11
  ## 0.2.6
4
12
 
5
13
  - Source view: where the toolbar row cannot hold the format buttons AND the tools (an in-place editor in a chat column, under 980px), the tools fold into the one "More tools" menu — nothing scrolls off the row (2026-10-07: Outline, Focus and Shortcuts had slid out of view).
@@ -1,3 +1,4 @@
1
+ import "./format-actions.js";
1
2
  export declare function isApplePlatform(): boolean;
2
3
  /** Run the chord's command on this element; true when the chord was a formatting command. */
3
4
  export declare function handleFormatChord(el: HTMLTextAreaElement, event: KeyboardEvent): boolean;
@@ -3,6 +3,7 @@ import { useEffect } from "react";
3
3
  import { useSelectionZone } from "@ai-matrx/rich-content/selection-toolbar/selection-zones";
4
4
  import { formatCommandForKey, keyNameOf } from "../core/markdown-format.js";
5
5
  import { markdownFormatHost, registerFormatElement, textareaFormatTarget } from "./format-target.js";
6
+ import "./format-actions.js";
6
7
  function isApplePlatform() {
7
8
  if (typeof navigator === "undefined") return false;
8
9
  const platform = navigator.userAgentData?.platform ?? navigator.platform ?? "";
@@ -1,4 +1,5 @@
1
1
  import { type Ref } from "react";
2
+ import "../format/format-actions.js";
2
3
  import type { EditorViewHandle } from "../visual/VisualEditor.js";
3
4
  import type { RichShellActions } from "../visual/visual-extensions.js";
4
5
  export interface SourceEditorProps {
@@ -29,6 +29,7 @@ import { continueMarkupOnEnter, makeLink, setLinePrefix, toggleWrap } from "../c
29
29
  import { markdownSourceLanguage } from "./markdown-language.js";
30
30
  import { formatMarkdown } from "../core/markdown-format.js";
31
31
  import { markdownFormatHost, registerFormatElement, textFormatTarget } from "../format/format-target.js";
32
+ import "../format/format-actions.js";
32
33
  import { useSelectionZone } from "@ai-matrx/rich-content/selection-toolbar/selection-zones";
33
34
  import { RICH_EDITOR_SHORTCUTS, TYPED_TRIGGERS } from "../core/shortcuts.js";
34
35
  import { variableNamesInText, variableSuggestions } from "../core/variables.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/rich-editor",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
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",
@@ -88,12 +88,12 @@
88
88
  "@tiptap/suggestion": "^3.31.3",
89
89
  "github-slugger": "^2.0.0",
90
90
  "lucide-react": "^1.48.0",
91
- "@ai-matrx/alchemy": "latest",
92
91
  "@ai-matrx/content-ir": "latest",
93
92
  "@ai-matrx/design-system": "latest",
94
- "@ai-matrx/kit": "latest",
95
93
  "@ai-matrx/print": "latest",
96
94
  "@ai-matrx/rich-content": "latest",
95
+ "@ai-matrx/alchemy": "latest",
96
+ "@ai-matrx/kit": "latest",
97
97
  "@ai-matrx/agents": "latest"
98
98
  },
99
99
  "peerDependencies": {