@powerduck/md-editor 0.8.4 → 0.8.5
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 +5 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -247,6 +247,11 @@ npm run build # vite build + d.ts generation
|
|
|
247
247
|
|
|
248
248
|
## Changelog
|
|
249
249
|
|
|
250
|
+
### v0.8.4
|
|
251
|
+
|
|
252
|
+
- **Fixed**: React component `MarkdownEditorReact` now passes through all extra props (`mention`, `docLink`, `toolbar`, `onImageUpload`, `includeCommonHeaders`, `includeCookies`, `placeholder`, etc.) to the underlying `MarkdownEditor` instance. Previously only a subset of props were forwarded, so `mention` and `docLink` configs were silently ignored.
|
|
253
|
+
- **Test**: 311 tests, all passing, zero unhandled errors.
|
|
254
|
+
|
|
250
255
|
### v0.8.3
|
|
251
256
|
|
|
252
257
|
- **Changed**: Task list checkbox semantics inverted per project convention. `- [ ]` now renders as **checked** (green checkmark); `- [x]` / `- [X]` renders as **unchecked** (empty box). `toggleTaskList()` and all tests updated accordingly.
|
package/dist/index.d.ts
CHANGED
|
@@ -128,3 +128,5 @@ export { icons, type IconName } from './icons.js';
|
|
|
128
128
|
export { Popup, type PopupConfig, type PopupField } from './plugins/popup.js';
|
|
129
129
|
export { extractYouTubeId, youTubeEmbedMarkdown, imageMarkdown, videoMarkdown, isVideoFile } from './plugins/media.js';
|
|
130
130
|
export { DEFAULT_SHORTCUTS, matchShortcut, formatShortcut, formatShortcutHtml, type ShortcutDef } from './plugins/keyboard.js';
|
|
131
|
+
export { type MentionItem, type MentionOptions } from './plugins/mention.js';
|
|
132
|
+
export { type DocItem, type DocMeta, type DocLinkOptions } from './plugins/doclink.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerduck/md-editor",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.5",
|
|
4
4
|
"description": "High-performance embeddable Markdown editor: KaTeX math, Markmap mindmaps, highlight.js code blocks with copy button, github-markdown-css preview, admonition blocks, rich toolbar with image/video/YouTube/table popups, keyboard shortcuts, configurable toolbar, image upload hook, standalone renderMarkdown API, React component, block-level incremental rendering. Simple and complex modes, light/dark themes.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|