All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fixed a bug when changing an entry's type, where TinyMCE fields that existed on the former entry type would not appear after the change
- Added Craft 5 compatibility
- Updated the distributed TinyMCE to 7.0.0
spicyweb\tinymce\enums\TinyMCESource
is now a proper enum, rather than an abstract class
- Removed Craft 4 compatibility
- Fixed a bug when changing an entry's type, where TinyMCE fields that existed on the former entry type would not appear after the change
- TinyMCE Field is now released under the GPL-3.0 license
- TinyMCE Field now requires Craft 4.8.0 or later
- Updated the distributed TinyMCE to 6.8.3
- Fixed a bug where hash links in TinyMCE fields in Matrix/Neo blocks would incorrectly apply Matrix/Neo field namespacing to the hash value when generating input HTML for element editor pages
- Fixed a bug where editing a link would not trigger a draft autosave
- Fixed a bug where navigating away from an element editor page with an unedited TinyMCE field would trigger a browser alert regarding unsaved changes
- Updated the distributed TinyMCE to 6.8.2
- When (re)generating the Default and Full TinyMCE config files, the
styles
item will be used on the toolbar instead ofblocks
- By default, the
styles
toolbar item now includes a 'Mark' option, under the 'Inline' submenu - Increased the line height of TinyMCE editor content
- Fixed a JavaScript error that occurred when editing TinyMCE fields using the 'Full' config when in preview mode
- Fixed a bug where TinyMCE editors using the 'Full' config in Matrix, Neo and Super Table blocks became unusable after dragging the blocks
- Fixed a visual bug when dragging Matrix, Neo and Super Table blocks containing TinyMCE fields
- Fixed a bug where TinyMCE editors in Matrix, Neo and Super Table blocks became unusable after dragging the blocks
- Updated the distributed TinyMCE to 6.7.2
- Fixed an error that occurred on 1.4.0 and 1.4.1, when loading an element editor page containing a TinyMCE field, if the plugin settings page had never been opened and saved
- Fixed a bug where it wasn't possible to enable premium plugins when using the custom TinyMCE source
- Added the ability to load official TinyMCE translation files from the
config/tinymce/languages
directory - Added
spicyweb\tinymce\enums\TinyMCESource
- Added
spicyweb\tinymce\errors\InvalidSourceException
- Added
spicyweb\tinymce\services\LanguageService
- Added
spicyweb\tinymce\models\Settings::$tinymceCustomSource
- Added
spicyweb\tinymce\models\Settings::$tinymceSource
- Added
spicyweb\tinymce\models\Settings::nonNullTinymceSource()
- Added a plugin settings page in the Craft control panel
- Updated the distributed TinyMCE to 6.5.1
- TinyMCE can now be loaded from a user-defined external source
- Added
spicyweb\tinymce\models\Settings::$enablePremiumPlugins
- Fixed bugs when using the
editorCloudApiKey
plugin setting
- Fixed a bug where TinyMCE editors became unusable after activating Craft's preview mode
- Fixed a script error that occurred when editing elements that don't autosave drafts
- Added
spicyweb\tinymce\fields\TinyMCE::$configSelectionMode
- Added
spicyweb\tinymce\fields\TinyMCE::$manualConfig
, which allows entering a custom config in JSON format for a specific TinyMCE field, like can be done for Redactor fields - Added
spicyweb\tinymce\assets\field\FieldAsset
- Added
spicyweb\tinymce\assets\tinymce\TinyMCEAsset
- Deprecated
spicyweb\tinymce\assets\FieldAsset
; usespicyweb\tinymce\assets\field\FieldAsset
instead - Deprecated
spicyweb\tinymce\assets\TinyMCEAsset
; usespicyweb\tinymce\assets\tinymce\TinyMCEAsset
instead
- Fixed a bug where TinyMCE fields could cause 404 errors when attempting to load translations
- Fixed a bug with the TinyMCE Field settings template, that caused issues when using TinyMCE Field within a Matrix field
- Added the
php craft tinymce/config/regenerate-default
console command - Added the
php craft tinymce/config/regenerate-full
console command - Added the
php craft tinymce/config/regenerate-simple
console command - Added
spicyweb\tinymce\console\controllers\ConfigController
- Added
spicyweb\tinymce\services\ConfigService
- When installed, the plugin now saves
Default.json
,Full.json
andSimple.json
TinyMCE config files in a Craft install'sconfig/tinymce
directory, if the files didn't already exist
- Fixed a bug where the
craftcms/html-field
package dependency wasn't set
- Fixed a bug where clicking on a TinyMCE dialog backdrop wouldn't close the dialog
- Initial release, using TinyMCE 6.1.2