@mdzip/editor-react 2.3.0 → 2.4.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.
- package/README.md +1 -1
- package/dist/package-info.d.ts +1 -1
- package/dist/package-info.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -97,7 +97,7 @@ showUnchanged? }`) to opt any of them out.
|
|
|
97
97
|
| `navigationMode` | `MdzipNavigationMode` | — | Package navigation mode |
|
|
98
98
|
| `navigationButtonActive` | `boolean` | — | Whether the navigation button is shown |
|
|
99
99
|
| `inlineSvgLinks` | `boolean` | `true` | Shows archive SVGs that contain links inline, so the links can be clicked (draw.io `.drawio.svg` diagrams, for example); other SVGs stay images. Read when the view is created |
|
|
100
|
-
| `hostFileActions` | `readonly MdzipFileAction[]` | — | The host's own items in the file tree's right-click menu on files (`{ id, label, appliesTo?, run }`), e.g. "Open in Another Editor". Read when the view is created |
|
|
100
|
+
| `hostFileActions` | `readonly MdzipFileAction[]` | — | The host's own items in the file tree's right-click menu on files (`{ id, label, appliesTo?, run }`), e.g. "Open in Another Editor". Also shown as buttons on the card that stands in for a `.drawio` image. Read when the view is created |
|
|
101
101
|
| `markdownRenderer` | `MdzipMarkdownRenderer` | — | Custom markdown renderer (keep the reference stable, e.g. `useMemo`) |
|
|
102
102
|
| `markdownExtensions` | `readonly MdzipMarkdownRenderExtension[]` | `[]` | Markdown pipeline extensions, diffed by `name` — inline arrays are safe |
|
|
103
103
|
| `entryRenderers` | `readonly MdzipEntryRenderer[]` | `[]` | Entry renderers claiming the content area for matching entries, diffed by `id` — inline arrays are safe |
|
package/dist/package-info.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const PACKAGE_INFO: {
|
|
2
2
|
readonly name: "@mdzip/editor-react";
|
|
3
|
-
readonly version: "2.
|
|
3
|
+
readonly version: "2.4.0";
|
|
4
4
|
readonly repositoryUrl: "https://github.com/mdzip-project/mdzip-editor/tree/main/packages/editor-react";
|
|
5
5
|
readonly description: "React wrapper for the MDZip workspace editor.";
|
|
6
6
|
};
|
package/dist/package-info.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Generated from package.json. Do not edit by hand.
|
|
2
2
|
export const PACKAGE_INFO = {
|
|
3
3
|
"name": "@mdzip/editor-react",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.4.0",
|
|
5
5
|
"repositoryUrl": "https://github.com/mdzip-project/mdzip-editor/tree/main/packages/editor-react",
|
|
6
6
|
"description": "React wrapper for the MDZip workspace editor."
|
|
7
7
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mdzip/editor-react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "React wrapper for the MDZip workspace editor.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"test": "vitest run"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@mdzip/editor": "^2.
|
|
38
|
+
"@mdzip/editor": "^2.4.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"react": ">=18.0.0",
|