magic-editor-x 2.1.0 → 2.3.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/CHANGELOG.md +125 -0
- package/README.md +593 -142
- package/bin/magic-editor-x.mjs +190 -0
- package/dist/admin/{ConfigurationPage-CK2AbfGW.mjs → ConfigurationPage-BxLHIQdo.mjs} +450 -21
- package/dist/admin/{ConfigurationPage-CzsT_dO_.js → ConfigurationPage-C-UktL1x.js} +479 -50
- package/dist/admin/ConfirmAction-DuQwvRYi.mjs +125 -0
- package/dist/admin/ConfirmAction-zLuIFj8t.js +124 -0
- package/dist/admin/{CustomBlocksPage-CvLrsBds.js → CustomBlocksPage-CxcTfdOT.js} +135 -84
- package/dist/admin/{CustomBlocksPage-B2A8S5MV.mjs → CustomBlocksPage-D8aMbVXc.mjs} +92 -41
- package/dist/admin/DraftSync-BIA8cZgA.js +11 -0
- package/dist/admin/DraftSync-CUxOMG-E.mjs +12 -0
- package/dist/admin/TemplatesPage-Hn6gyu2l.js +993 -0
- package/dist/admin/TemplatesPage-jhYi6Zdf.mjs +993 -0
- package/dist/admin/de-1cFMs-4c.mjs +43 -0
- package/dist/admin/{de-CkUYGb7U.js → de-2Ie5jy7j.js} +86 -2
- package/dist/admin/de-B1X46JJZ.js +453 -0
- package/dist/admin/{de-rRIutpYJ.mjs → de-BMY2LBaa.mjs} +86 -2
- package/dist/admin/{de-Bt6pYIWi.mjs → de-BUS1hUw0.mjs} +145 -0
- package/dist/admin/{de-CVbi685U.js → de-C3AsGauQ.js} +145 -0
- package/dist/admin/de-DOiGaTNX.mjs +453 -0
- package/dist/admin/de-Dn8athM8.js +43 -0
- package/dist/admin/{en-DulOcmXb.js → en-Ah-Cw0Wd.js} +86 -2
- package/dist/admin/{en-BX362fTp.js → en-BkEjpC3i.js} +145 -0
- package/dist/admin/en-CDg_18Bt.js +453 -0
- package/dist/admin/en-CIZ5Ggod.js +43 -0
- package/dist/admin/en-CU6UzV4g.mjs +453 -0
- package/dist/admin/{en-Puup8TFi.mjs → en-CvFiqti2.mjs} +86 -2
- package/dist/admin/en-Dc9y-6n9.mjs +43 -0
- package/dist/admin/{en-B_HltUxZ.mjs → en-GCzgS9Aw.mjs} +145 -0
- package/dist/admin/es-BCpJmUEM.js +453 -0
- package/dist/admin/es-BmfffNM2.mjs +453 -0
- package/dist/admin/es-C4IRHV5d.js +43 -0
- package/dist/admin/{es-CHHEZi44.js → es-C4pEnDRv.js} +145 -0
- package/dist/admin/{es-BoQZC86B.js → es-Cr8JH85N.js} +86 -2
- package/dist/admin/es-D2Kw6E4N.mjs +43 -0
- package/dist/admin/{es-CrhwOq-5.mjs → es-DHBBZKl2.mjs} +145 -0
- package/dist/admin/{es-257SSB7f.mjs → es-DbKHZz5l.mjs} +86 -2
- package/dist/admin/fr-BOvvfEH7.mjs +43 -0
- package/dist/admin/{fr-B3SL0TBV.js → fr-C2aLSwEu.js} +145 -0
- package/dist/admin/{fr-C5rSdKU4.mjs → fr-DQJ_7aq5.mjs} +86 -2
- package/dist/admin/fr-DZd2XJP6.mjs +453 -0
- package/dist/admin/{fr-5djKfQ3s.mjs → fr-Dvq4xk2e.mjs} +145 -0
- package/dist/admin/{fr-HxFcPpv4.js → fr-OJ4VW1kh.js} +86 -2
- package/dist/admin/fr-ZcN0yM_2.js +453 -0
- package/dist/admin/fr-Zkb8vfjN.js +43 -0
- package/dist/admin/index-BHBRr562.js +1940 -0
- package/dist/admin/index-CQk1XeNb.mjs +1939 -0
- package/dist/admin/index-Cm-fFUhE.js +18908 -0
- package/dist/admin/index-XgfwqLfV.mjs +18873 -0
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +2 -2
- package/dist/admin/pt-1IUyx6ae.js +43 -0
- package/dist/admin/{pt-D6UuEtPy.mjs → pt-BSLzA17U.mjs} +86 -2
- package/dist/admin/pt-C3UdeIpd.mjs +453 -0
- package/dist/admin/pt-CImqDnLB.js +453 -0
- package/dist/admin/{pt-BdnY2Cth.mjs → pt-CilDggGF.mjs} +145 -0
- package/dist/admin/{pt-Cjn2Sc9k.js → pt-D0I0_JYs.js} +86 -2
- package/dist/admin/{pt-EVwCuBUK.js → pt-DX0OAIoL.js} +145 -0
- package/dist/admin/pt-etwsg3G4.mjs +43 -0
- package/dist/admin/useBreakpoint-D30eNTkF.js +37 -0
- package/dist/admin/useBreakpoint-DCfn6pDG.mjs +38 -0
- package/dist/admin/useT-CmaeZbCr.mjs +65 -0
- package/dist/admin/{useT-91ruePzq.js → useT-D3sM9Zf7.js} +4 -70
- package/dist/blocks/index.d.mts +167 -0
- package/dist/blocks/index.d.ts +167 -0
- package/dist/blocks/index.js +631 -0
- package/dist/blocks/index.mjs +609 -0
- package/dist/react/index.d.mts +39 -0
- package/dist/react/index.d.ts +39 -0
- package/dist/react/index.js +2687 -0
- package/dist/react/index.mjs +2657 -0
- package/dist/render/index.d.mts +201 -0
- package/dist/render/index.d.ts +201 -0
- package/dist/render/index.js +2918 -0
- package/dist/render/index.mjs +2896 -0
- package/dist/server/index.js +19400 -4738
- package/dist/server/index.mjs +19403 -4741
- package/dist/vue/index.d.mts +41 -0
- package/dist/vue/index.d.ts +41 -0
- package/dist/vue/index.js +2630 -0
- package/dist/vue/index.mjs +2610 -0
- package/package.json +49 -8
- package/schema/magic-editor-x.schema.json +1506 -0
- package/types/blocks.d.ts +167 -0
- package/types/index.d.ts +338 -0
- package/types/react.d.ts +39 -0
- package/types/render.d.ts +201 -0
- package/types/vue.d.ts +41 -0
- package/dist/admin/EditorField-7YCdXx-v.mjs +0 -6829
- package/dist/admin/EditorField-BdBCW15Q.js +0 -6864
- package/dist/admin/api-CmccMxlN.js +0 -36
- package/dist/admin/api-D5CAH0nh.mjs +0 -37
- package/dist/admin/de-BHPyA2S-.mjs +0 -103
- package/dist/admin/de-DBR893G4.js +0 -13
- package/dist/admin/de-RMs-_SCK.js +0 -103
- package/dist/admin/de-fBFh09Wl.mjs +0 -13
- package/dist/admin/en-BluCStLw.mjs +0 -103
- package/dist/admin/en-C81faOHP.js +0 -103
- package/dist/admin/en-D9Nfccux.mjs +0 -13
- package/dist/admin/en-gueRT44P.js +0 -13
- package/dist/admin/es-B0Zy8DVg.mjs +0 -13
- package/dist/admin/es-CQRI2Prp.mjs +0 -103
- package/dist/admin/es-D1QzY0JW.js +0 -103
- package/dist/admin/es-DRGs7meF.js +0 -13
- package/dist/admin/fr-B8rdLAIL.js +0 -13
- package/dist/admin/fr-Di3R6gOX.mjs +0 -103
- package/dist/admin/fr-R3_MbzT5.js +0 -103
- package/dist/admin/fr-oiUb2bb_.mjs +0 -13
- package/dist/admin/index-0_b1iroK.mjs +0 -156
- package/dist/admin/index-6SZLli70.js +0 -155
- package/dist/admin/pt-B3Jce6uT.mjs +0 -13
- package/dist/admin/pt-BCW1u_Hp.js +0 -103
- package/dist/admin/pt-BiWuSBcH.js +0 -13
- package/dist/admin/pt-Cr9AL408.mjs +0 -103
- package/dist/admin/sanitize-DP5aeU7V.js +0 -597
- package/dist/admin/sanitize-jjCot5PM.mjs +0 -596
- package/dist/admin/useT-vgY88N_H.mjs +0 -131
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,130 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
# [2.3.0](https://github.com/Schero94/Magic-Editor-X/compare/v2.2.0...v2.3.0) (2026-11-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* framework renderers, API output, block SDK, media, templates, synced blocks and comments (2.3.0) ([#6](https://github.com/Schero94/Magic-Editor-X/issues/6)) ([2256161](https://github.com/Schero94/Magic-Editor-X/commit/2256161ef99b1eee504d7a012df00808d60f4fb7))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Magic Editor X 2.3 connects the editor to the rest of your stack: React and Vue components, rendered and resolved Content API and GraphQL output, a block SDK, media blocks, templates, patterns and synced blocks, block comments, mentions and a table of contents, plus optional AI and grammar assistants. No migration is needed; stored content keeps the same Editor.js JSON and every new output is opt-in.
|
|
12
|
+
|
|
13
|
+
### Highlights
|
|
14
|
+
|
|
15
|
+
- **React, Vue, Nuxt and Astro.** `magic-editor-x/react` and `magic-editor-x/vue` render content with real components (per-block components or slots) from the same render tree as `renderHtml`; guides for Astro, React and Vue/Nuxt are in `docs/guides/`.
|
|
16
|
+
- **Rendered and resolved API output.** `?mex=html|text|markdown|json` on Content API GET requests, and `<field>Rendered(format)` / `<field>Resolved` in GraphQL. Internal links, mentions, embedded entries, Media Library files and synced blocks are resolved with the caller's permissions; draft-only or unreadable targets are never revealed.
|
|
17
|
+
- **Block SDK.** Define a block once with `defineBlock` (`magic-editor-x/blocks`), register it on the server and in the admin, and it is sanitised, preset-checked, collaborative and rendered everywhere.
|
|
18
|
+
- **Media.** Gallery, video and audio blocks from the Media Library (alternative texts, captions, poster, WebVTT tracks, no autoplay) and a focal point for images.
|
|
19
|
+
- **Templates, patterns and synced blocks.** Reusable starting content and block sequences per field or preset, inserted from the editor toolbar; synced blocks are edited in one place and every field that references them shows the change.
|
|
20
|
+
- **In-field preview.** The rendered output of the field next to the editor (toolbar or Ctrl/Cmd+Alt+P), also for read-only users.
|
|
21
|
+
- **Block comments.** Threads per block with reply, resolve and reopen, live across servers, with their own permissions.
|
|
22
|
+
- **Structure.** A table of contents block with stable heading anchors, and mentions of other entries.
|
|
23
|
+
- **Assistants (off until enabled).** AI alternative text for images (image and gallery blocks), whole-field translate and summarize, and a LanguageTool grammar check (self-hosted or hosted).
|
|
24
|
+
- **Operations.** Scheduled external link checks (one process in a cluster runs each check), code blocks with line numbers and a copy button in the renderers, and a performance benchmark in CI.
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- Package exports `magic-editor-x/react`, `magic-editor-x/vue` and `magic-editor-x/blocks`; render functions `renderTree`, `serializeNodes`, `enhanceCodeBlocks`, `copyText`; render options `code`, `focalPoint`, `headingIds`, `toc`, `blocks` and `synced`. `vue` (`^3.5.0`) is an optional peer dependency; the React peer range is `^18.0.0 || ^19.0.0`.
|
|
29
|
+
- Content API query parameter `mex` (registered with `strapi.contentAPI.addQueryParams`, so it also passes with `api.rest.strictParams`); GraphQL fields `<field>Rendered(format: HTML|TEXT|MARKDOWN)` and `<field>Resolved` when `@strapi/plugin-graphql` is installed; service `references.transform`. Synced blocks are expanded in this output.
|
|
30
|
+
- Blocks `gallery`, `video`, `audio`, `toc` and `synced`; `focalPoint` on `image` data and gallery images; mention links (`data-mex-mention="true"`).
|
|
31
|
+
- Templates and block patterns (content type `plugin::magic-editor-x.template`, `kind: 'template' | 'pattern'`) with Settings > Magic Editor X > Templates, the "Insert template" dialog, "Save as pattern" for selected blocks and "Save content as template".
|
|
32
|
+
- Synced blocks: template rows with `kind: 'synced'`, inserted as `{ type: 'synced', data: { ref } }` from the "Insert template" dialog, with "Edit source" and "Detach" in the editor and a usage count in Settings (`GET /magic-editor-x/templates/:id/usage`).
|
|
33
|
+
- In-field preview of the rendered field (toolbar button, Ctrl/Cmd+Alt+P).
|
|
34
|
+
- Block comments (content type `plugin::magic-editor-x.comment`) with the Comments panel and per-block markers.
|
|
35
|
+
- AI alternative text suggestions for image blocks and gallery images (`POST /magic-editor-x/ai/image/alt-text`), whole-field translate and summarize (`POST /magic-editor-x/ai/field/:action`) and the LanguageTool grammar check (`POST /magic-editor-x/grammar/check`).
|
|
36
|
+
- Permissions `comments.read`, `comments.write`, `comments.moderate`, `templates.manage` and `grammar.use`.
|
|
37
|
+
- Admin routes for comments, templates (including usage), the link report and the link schedule, AI alternative text and field actions, the grammar check and the LanguageTool connection test (see the README route table).
|
|
38
|
+
- Config keys `comments.enabled`, `comments.perMinute`, `qualityChecks.externalLinks.allowPrivateOrigins`, `qualityChecks.externalLinks.schedule`, `languageTool.allowPrivateBaseUrl`, `languageTool.requestsPerMinute`, `languageTool.timeoutMs`; settings `ai.allowImages`, `ai.allowFieldActions` and `languageTool`.
|
|
39
|
+
- Quality rules `video-no-captions` and `toc-no-headings`; `npm run bench`.
|
|
40
|
+
- Custom field option `disableGrammar` (Content-Type Builder > Advanced settings): the field shows no "Check grammar" button and `POST /magic-editor-x/grammar/check` answers 403 for it, so its text is never sent to LanguageTool. It is independent of `disableAi`.
|
|
41
|
+
|
|
42
|
+
### Changed
|
|
43
|
+
|
|
44
|
+
- Block select controls (gallery layout and columns, caption track kind, table of contents levels and style, code language, custom block selects) look like Strapi Design System selects in light and dark mode.
|
|
45
|
+
- The editor stylesheet is added once per page instead of once per field, which removes multi-second freezes when opening or leaving edit views with several editor fields.
|
|
46
|
+
- Heading ids `mex-h-<blockId>` are written when the document has a table of contents (or with `headingIds: true`). Without a `toc` block and without the new options, `renderHtml` output is the same as in 2.2.
|
|
47
|
+
- Code blocks keep a valid language that is not in the editor's list instead of resetting it to `plaintext`; one language list (`shared/code-languages.mjs`) serves the editor, the highlighting and the renderers.
|
|
48
|
+
- The image caption in the editor follows in normal flow instead of overlapping the controls below the image.
|
|
49
|
+
- The 2.3 built-in block names (`toc`, `gallery`, `video`, `audio`, `synced`) and the `mention` tool never change the stored data of an existing custom block with the same name: it keeps its own editor tool, sanitising, rendering and API output, byte for byte as in 2.2. Built-in blocks of these types store the marker `_mex: 1` in their data to tell them apart; new custom blocks cannot use these names.
|
|
50
|
+
|
|
51
|
+
### Fixed
|
|
52
|
+
|
|
53
|
+
- Pressing Enter on a block select (gallery layout, table of contents levels, code language, custom block selects) submitted the Content Manager form.
|
|
54
|
+
- Text typed into an editor field right after saving a new entry (or while the edit view was still loading) reached the editor but not the form, so Save stayed disabled and the edit could be lost. The field now reports edits made while it starts and marks its holder with `data-mex-ready="true"` when typing is safe.
|
|
55
|
+
- Collaboration: edits re-applied after a room compaction or a reconnect could split another person's text typed at the same spot (for example two inserts became interleaved). Re-applied inserts now stay whole (present since 2.1).
|
|
56
|
+
- Version history: blocks whose tunes differed only in key order were reported as changed; tune changes are now shown readably ("Alignment: left → center").
|
|
57
|
+
- Version history, live collaboration and the link report answered 404 for editor fields inside components (MEX-23-12).
|
|
58
|
+
- Admin error handling read no HTTP status from Strapi's fetch client errors, so the 400 and 404 branches of the editor and the settings pages never ran (`readApiError`).
|
|
59
|
+
- Seeding a live room was quadratic in the number of blocks (5,000 blocks: about 467 ms to 75 ms).
|
|
60
|
+
- Editor.js dropped internal-link references from alert, warning and toggle fields on save.
|
|
61
|
+
- The editor hint said Tab chooses a block; in Editor.js 2.31 it is "/".
|
|
62
|
+
|
|
63
|
+
### Security
|
|
64
|
+
|
|
65
|
+
- See [docs/security-audit-2.3.md](./docs/security-audit-2.3.md): API output and reference resolution (MEX-23-01, MEX-23-02), React/Vue renderers (MEX-23-03), block SDK (MEX-23-04), media blocks (MEX-23-05), mentions (MEX-23-06), block comments (MEX-23-07), scheduled link check (MEX-23-08), AI alternative text and field actions (MEX-23-09), LanguageTool (MEX-23-10), templates and preview (MEX-23-11), synced blocks (MEX-23-14), component field permissions (MEX-23-12) and live room seeding (MEX-23-13).
|
|
66
|
+
|
|
67
|
+
### Migration
|
|
68
|
+
|
|
69
|
+
- No action needed. Rebuild the admin (`npm run build`) after updating.
|
|
70
|
+
- Grant the new permissions to roles that should comment (`comments.read`, `comments.write`, `comments.moderate`), manage templates, patterns and synced blocks (`templates.manage`) or use the grammar check (`grammar.use`).
|
|
71
|
+
- Features that send content to a provider stay off until the owner turns them on in Settings (`ai.allowImages`, `ai.allowFieldActions`, LanguageTool). The scheduled link check needs `qualityChecks.externalLinks.enabled` and `qualityChecks.externalLinks.schedule.enabled` in `config/plugins`.
|
|
72
|
+
- Custom blocks created before 2.3 under the names `toc`, `gallery`, `video`, `audio`, `synced` or `mention` need nothing: their stored data is never rewritten and they stay editable under their name. New custom blocks cannot use these names.
|
|
73
|
+
- Editor.js stays at 2.31.7: 2.32.0 is still a release candidate on npm (`next` tag 2.32.0-rc.3, no final release).
|
|
74
|
+
|
|
75
|
+
# [2.2.0](https://github.com/Schero94/Magic-Editor-X/compare/v2.1.0...v2.2.0) (2026-11-12)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
### Features
|
|
79
|
+
|
|
80
|
+
* field presets, renderers, paste cleanup, versions diff and quality checks ([#5](https://github.com/Schero94/Magic-Editor-X/issues/5)) ([583b86b](https://github.com/Schero94/Magic-Editor-X/commit/583b86b0f1a3eccbcc43099cd09c025f1e21f670))
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
Magic Editor X 2.2 makes one editor fit every field and every frontend: per-field presets enforced on the server, renderers with a published schema and types, clean paste and migrations, faster writing, version comparison and quality checks. No migration is needed; stored content keeps the same Editor.js JSON.
|
|
84
|
+
|
|
85
|
+
### Highlights
|
|
86
|
+
|
|
87
|
+
- **Field presets.** Each field gets its own rules in the Content-Type Builder: a preset (`full`, `article`, `basic`, `minimal`), allowed blocks and heading levels, block and character limits, required alternative text, allowed links (entries, web addresses, both or none), AI and live collaboration on or off, and a publishing guard. They are enforced on every save (Content Manager, Content API, imports, code) and over the live channel, not only in the editor. Content that no longer fits is listed with **Fix automatically**, and the Content Manager shows the reason on the field.
|
|
88
|
+
- **Render anywhere.** `magic-editor-x/render` renders stored content to HTML, plain text or Markdown in Node, browsers and edge runtimes, without dependencies and safe against XSS even for content that skipped the sanitiser; internal links can follow slug changes at render time, images get responsive `srcset` from the Media Library. `magic-editor-x/schema` (JSON Schema) and `magic-editor-x/types` (TypeScript) describe the stored data.
|
|
89
|
+
- **Paste and migrate.** Word, Google Docs, LibreOffice, web pages and Markdown paste as real blocks (headings, nested lists, checklists, tables, code, links), with images copied into the Media Library. `npx magic-editor-x migrate` converts Strapi Blocks, Markdown and HTML fields (dry run first, idempotent, report without content).
|
|
90
|
+
- **Write faster.** Markdown shortcuts, find and replace (regular expressions optional), a keyboard shortcut help (Ctrl/Cmd+/), focus mode, actions for several selected blocks (move, duplicate, delete, convert, copy as Markdown), characters and reading time with the field's limits, `lang` and right-to-left direction from the content locale.
|
|
91
|
+
- **Media.** Alternative text and "decorative image" on image blocks, required when the field asks for it; images keep their Media Library id and formats.
|
|
92
|
+
- **Versions.** Named versions, a comparison of any version with the current content (blocks and words, moves and formatting-only changes) and restore of a single block.
|
|
93
|
+
- **Quality checks.** An accessibility lint (alternative texts, heading order, link texts in five languages, table headers, contrast of custom colours) and a link check (internal entries with your permissions, Media Library files, external links only when the owner turns it on), with an optional publishing guard.
|
|
94
|
+
|
|
95
|
+
### Added
|
|
96
|
+
|
|
97
|
+
- Custom field options `preset`, `allowedBlocks`, `headingLevels`, `maxBlocks`, `maxCharacters`, `requireAlt`, `linkTargets`, `disableAi`, `disableCollaboration`, `publishGuard`.
|
|
98
|
+
- Package exports `magic-editor-x/render`, `magic-editor-x/schema`, `magic-editor-x/types`; the `magic-editor-x` CLI (`migrate`); services `migrate` (`run`) and `links.resolveHrefs`.
|
|
99
|
+
- Admin routes `PUT /magic-editor-x/history/:id` (rename a version) and `POST /magic-editor-x/quality/links`; `POST /history` accepts `label`; versions return `label`; `GET /config` returns `data.quality.externalLinks`.
|
|
100
|
+
- Config keys `qualityChecks.externalLinks` (`enabled` false, `timeoutMs` 5000, `perMinute` 30) and `collaboration.compaction` (`enabled` true, `idleSeconds` 60, `minBytes` 262144, `ratio` 4, `checkIntervalSeconds` 30).
|
|
101
|
+
- Stored data: `image.data.decorative`, `simpleImage.data.alt` and `simpleImage.data.decorative` (optional).
|
|
102
|
+
- Dependencies `marked` and `htmlparser2` (maintained; bundled into the server build).
|
|
103
|
+
|
|
104
|
+
### Changed
|
|
105
|
+
|
|
106
|
+
- `POST /magic-editor-x/ai/:action` requires `target: { uid, field }` (the field the text comes from); the admin sends it. Scripts that call this admin route directly must add it.
|
|
107
|
+
- Validation errors of Magic Editor X fields carry `details.errors` with the field path (next to `details.code`), so the Content Manager shows them on the field.
|
|
108
|
+
- Long-lived live rooms are rebuilt as a new generation when they are idle and much larger than their content; open editors switch without reconnecting.
|
|
109
|
+
|
|
110
|
+
### Fixed
|
|
111
|
+
|
|
112
|
+
- Internal links lost their entry reference (`data-mex-uid`) when content was shown again in the editor, so the next save stored a plain link (since 2.1).
|
|
113
|
+
- Opening a long document in a new live room froze the tab (about 40 s with 2,000 blocks); typing now stays responsive (25 keystrokes in under a second).
|
|
114
|
+
- An edit typed into a block that someone replaced at the same moment was acknowledged but not stored, and that editor's later edits did not reach other processes.
|
|
115
|
+
- Re-applying unsent edits after a room reset could drop or garble concurrent remote edits.
|
|
116
|
+
- `embed.service` and `codeFlask.language` only keep strings.
|
|
117
|
+
- The history dialog footer wraps at narrow widths; "Save current version" no longer overflows its button at 320 px (contrast finding of 2.1).
|
|
118
|
+
- The Content Manager no longer throws while showing a Magic Editor X validation error.
|
|
119
|
+
|
|
120
|
+
### Security
|
|
121
|
+
|
|
122
|
+
- See [docs/security-audit-2.2.md](./docs/security-audit-2.2.md): paste and import (MEX-22-01), renderers (MEX-22-02), server-side presets (MEX-22-03), AI per field (MEX-22-04), link check SSRF and existence leaks (MEX-22-05), migration (MEX-22-06), versions (MEX-22-07), internal-link integrity (MEX-22-08), lost edits (MEX-22-09), long documents (MEX-22-10).
|
|
123
|
+
|
|
124
|
+
### Migration
|
|
125
|
+
|
|
126
|
+
- No action needed. Rebuild the admin (`npm run build`) after updating. Fields without the new options behave as before (`full`).
|
|
127
|
+
|
|
3
128
|
# [2.1.0](https://github.com/Schero94/Magic-Editor-X/compare/v2.0.0...v2.1.0) (2026-11-11)
|
|
4
129
|
|
|
5
130
|
|