Repository navigation
Releases
Releases · owebstudio/kirby-tinymce-field
3.0.0
TinyMCE Editor now runs on Kirby 6 with TinyMCE 8.
New
- Kirby 6. The field is rebuilt for the new Kirby 6 Panel.
- TinyMCE 8. The editor moves from TinyMCE 5, which no longer gets updates, to the current TinyMCE 8.
- Load TinyMCE your way. Use your own Tiny Cloud API key (
apiKey), or host TinyMCE yourself and setscriptSrcandlicenseKey. TinyMCE is never part of the plugin. - New options:
scriptSrc,licenseKeyandcloudChannel. - Clear notices. Without an API key or
scriptSrc, the field tells you what to set up instead of showing a broken editor. If TinyMCE can't be loaded, you see an error instead of an empty field. - Texts in English, German and Turkish.
Changed
- Your 2.x blueprints and options keep working.
printandpasteare part of the TinyMCE core now, so the field skips them and other plugins that TinyMCE 8 doesn't have anymore. Old toolbar button names likeformatselectare mapped to the new ones. - The default menu bar no longer shows
tc(Tiny Comments, a premium plugin). - The fullscreen editor and dialogs like Source Code still work inside the drawers of blocks and structure fields.
- After activating your license key, the editor unlocks right away, without a reload.
Breaking changes
- Requires Kirby 6 and PHP 8.3 or newer. On Kirby 4 and 5, keep using 2.1.1.
- Settings you pass to TinyMCE through your own plugin (
thirdParty.tinymce) must work with TinyMCE 8. See the TinyMCE migration guide. - A self-hosted TinyMCE 8 needs
licenseKey(gplor your commercial key), otherwise TinyMCE opens it read-only.
See the README for all options and the upgrade notes.
License
TinyMCE Editor is a commercial plugin under the oweb studio Commercial License. Live sites need a license key, local and staging sites don't. Your existing key works for 3.0.0 too.
2.1.1
Fixes
- The fullscreen editor and larger dialogs, such as Source Code, now work inside the drawers of blocks and structure fields. Before, the drawer cut them off, so the menu bar and the content were hidden and the editor looked empty.
Changes
- The "Buy a license" link in the license dialog now goes straight to the checkout.
- The license now links to the oweb studio Commercial License on GitHub.
Requirements
- Kirby 4 or 5 and PHP 8.1 or newer (Kirby 5 needs PHP 8.2).
- Replace the plugin folder to update.
2.1.0
Fixes
- Fields that are disabled in the blueprint, or that the user isn't allowed to edit, are now read-only. Before, the editor could still be edited there.
- The
imageAdvanceTaboption inconfig.phpnow works. Before, setting it tofalsehad no effect. - Cmd+S inside the editor now saves the page on Mac. Ctrl+S on other systems works as before.
- Each change in the editor now reaches the Panel once instead of twice.
- Fixed a possible JavaScript error when TinyMCE's menu container doesn't exist yet.
License
- TinyMCE Editor is now a commercial plugin under the oweb studio Commercial License. Live sites need a license key, local and staging sites don't.
- Activate your key with the button in the notice above the editor, or on Kirby 5 in the System view by clicking the license status of TinyMCE Editor. Only admins can activate a key. Keys of the former oweb studio bundle work too.
- Without a key on a live site, the editor is read-only and shows a notice. Your content stays visible, the page can still be saved, and your website never shows an error.
- Versions 1.1.1 to 2.0.0 stay under the MIT license.
Requirements
- Kirby 4 or 5 and PHP 8.1 or newer (Kirby 5 needs PHP 8.2). On Kirby 3, keep using 1.x.
- TinyMCE 5 is still loaded from Tiny Cloud with your own API key (
owebstudio.tinymce.apiKey). - Replace the plugin folder to update.