@mdaemon/html-editor-react 1.9.0 → 1.9.1

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.
Files changed (2) hide show
  1. package/README.md +4 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -19,7 +19,7 @@ npm install @mdaemon/html-editor-react
19
19
  **Peer dependencies:** `react` and `react-dom` (v18 or v19).
20
20
 
21
21
  **TipTap:** the editor is built on TipTap 3, and this package tracks the same version the
22
- engine uses — currently **3.31.3** (`@mdaemon/html-editor` `^1.13.0`,
22
+ engine uses — currently **3.31.3** (`@mdaemon/html-editor` `^1.13.1`,
23
23
  `@tiptap/react` `^3.31.3`). If your app depends on any `@tiptap/*` package directly, keep
24
24
  it on that version too: ProseMirror throws at runtime if two copies of `@tiptap/core` /
25
25
  `@tiptap/pm` end up in the bundle. If you only use `<Editor>` or `useEditor`, there is
@@ -522,7 +522,8 @@ A few things worth knowing:
522
522
  mode also takes precedence over the built-in code-block paste for clipboards that VS Code
523
523
  (and editors that copy the way it does) mark as code.
524
524
  - Pastes that carry files (images), Markdown pasted inside a code block, and drag-and-drop are
525
- never converted. A URL pasted over a selection still becomes a link either way.
525
+ never converted. A URL pasted over a selection within one paragraph still becomes a link
526
+ either way; over a larger selection (such as Ctrl+A) it replaces the selection.
526
527
  - **Pasted Markdown cannot run script.** Raw HTML inside the Markdown is escaped to visible
527
528
  text, the converted HTML is sanitized in an inert document before it reaches ProseMirror,
528
529
  and links are limited to the schemes TipTap allows.
@@ -691,7 +692,7 @@ Buttons after `||` begin collapsed behind a toggle (`...`) button.
691
692
  | `charmap` | Special character picker |
692
693
  | `emoticons` | Emoji picker with search |
693
694
  | `code` | Open HTML source code editor dialog |
694
- | `link` | Insert/edit hyperlink |
695
+ | `link` | Insert/edit hyperlink (with the caret on a link, edits that link in place) |
695
696
  | `unlink` | Remove the link at the cursor |
696
697
  | `anchor` | Insert a named anchor (`<a id>` target) |
697
698
  | `codesample` | Toggle code sample |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdaemon/html-editor-react",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "React wrapper for MDHTMLEditor",
5
5
  "homepage": "https://github.com/mdaemon-technologies/MDHTMLEditor-react",
6
6
  "repository": {
@@ -56,7 +56,7 @@
56
56
  "react-dom": "^19.0.0 || ^18.0.0"
57
57
  },
58
58
  "dependencies": {
59
- "@mdaemon/html-editor": "^1.13.0",
59
+ "@mdaemon/html-editor": "^1.13.1",
60
60
  "@tiptap/react": "^3.31.3"
61
61
  },
62
62
  "devDependencies": {