Releases: PeopleInside/modern-editor
Release list
2.0.5
Fixed (#13): resolved page content corruption when Grav's global markdown setting (system.pages.markdown.enabled) is set to false.
New: added a markdown_enabled toggle to the plugin configuration to allow disabling markdown handling entirely (working in raw HTML mode) and preventing the browser from loading or running the marked and turndown helper libraries.
2.0.4
Fixed: switching the editor to fullscreen mode hid TinyMCE's own toolbar and menu bar behind Admin Next's sticky page header.
You may need to clear browser cache to see the fix also clear Grav cache.
2.0.3
2.0.3
Fixed: with "Lingua editor / interfaccia admin" set to "Automatica (segui Grav)", the plugin stayed in English (both the status card's green banner and TinyMCE's own UI) on installs where Grav exposes the admin locale as a region-qualified BCP-47 tag (e.g. it-IT) rather than a bare it — which is the case for Admin Next's own window.__GRAV_I18N.locale store, and in some builds for document.documentElement.lang too. Every language check (client-side in moderneditor.js/moderneditorstatus.js, and server-side in getUiLanguage()/langOverride()) compared these values with strict equality against 'it', which silently failed even though the language was Italian. All of them now normalize a tag to its primary subtag (it-IT → it) before comparing. window.__GRAV_I18N.locale is also now read as the primary, most reliable client-side signal (it's the same source Grav itself uses to translate the rest of the Admin Next UI), ahead of the existing window.MODERN_EDITOR_ADMIN_LANG / document.documentElement.lang fallbacks. Forcing the language explicitly to "Italiano" already worked before this fix and is unaffected.
2.0.2
2.0.2
Fixed (#12): editing content containing Twig expressions with square brackets (e.g. {{media['thumbs://...']...}}) no longer breaks the page, since turndown's HTML→Markdown conversion no longer escapes [ and ] into [ ].
Fixed: the two markdown helper libraries (marked/turndown) could keep loading from the jsDelivr CDN even with "local" (self-hosted) mode selected. Their URLs now also travel through the same /modern-editor/config REST endpoint already used (and proven reliable) for the TinyMCE script URL, instead of relying solely on an inline <script> injection that doesn't always reach the page inside Admin Next's decoupled SPA shell.
New: added alignleft/aligncenter/alignright/alignjustify to the default toolbar (and auto-injected into any custom toolbar missing them, same as the existing forecolor/backcolor injection).
New: the visual editor's own UI (loading/error messages) and a compact, built-in Italian translation for TinyMCE's toolbar/menu labels are now shown automatically when the admin panel's language is Italian — no extra download or CDN call required.
2.0.1
2.0.0
Security fix improvements
Update banner fix and adding support for TinyMCE 8.X
1.1.9
1.1.8
Security code improvements.
Download and check SSL connection when local editor is used or downloaded.
1.1.7
1.1.6
1.1.6
License Change: Changed license from MIT to GNU General Public License v2.0 or later (GPLv2+) for full compatibility with TinyMCE 7's licensing requirements.
Updated blueprints.yaml to reflect the new GPL license.
Updated README.md with new licensing information.