Version 1.5.0

April 7, 2024

Changed

  • 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

Version 1.4.10

February 16, 2024

Fixed

  • 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

Version 1.4.9

February 7, 2024

Fixed

  • Fixed a bug where editing a link would not trigger a draft autosave

Version 1.4.8

February 2, 2024

Fixed

  • Fixed a bug where navigating away from an element editor page with an unedited TinyMCE field would trigger a browser alert regarding unsaved changes

Version 1.4.7

January 16, 2024

Changed

  • Updated the distributed TinyMCE to 6.8.2

Version 1.4.6

December 18, 2023

Changed

  • When (re)generating the Default and Full TinyMCE config files, the styles item will be used on the toolbar instead of blocks
  • By default, the styles toolbar item now includes a 'Mark' option, under the 'Inline' submenu
  • Increased the line height of TinyMCE editor content

Version 1.4.5

December 12, 2023

Fixed

  • 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

Version 1.4.4

December 10, 2023

Fixed

  • Fixed a visual bug when dragging Matrix, Neo and Super Table blocks containing TinyMCE fields

Version 1.4.3

December 9, 2023

Fixed

  • Fixed a bug where TinyMCE editors in Matrix, Neo and Super Table blocks became unusable after dragging the blocks

Version 1.4.2

October 26, 2023

Changed

  • Updated the distributed TinyMCE to 6.7.2

Fixed

  • 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

Version 1.4.1

July 2, 2023

Fixed

  • Fixed a bug where it wasn't possible to enable premium plugins when using the custom TinyMCE source

Version 1.4.0

July 1, 2023

Added

  • 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

Changed

  • Updated the distributed TinyMCE to 6.5.1
  • TinyMCE can now be loaded from a user-defined external source

Version 1.3.0

February 15, 2023

Added

  • Added spicyweb\tinymce\models\Settings::$enablePremiumPlugins

Fixed

  • Fixed bugs when using the editorCloudApiKey plugin setting

Version 1.2.1

October 31, 2022

Fixed

  • 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

Version 1.2.0

October 27, 2022

Added

  • 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

  • Deprecated spicyweb\tinymce\assets\FieldAsset; use spicyweb\tinymce\assets\field\FieldAsset instead
  • Deprecated spicyweb\tinymce\assets\TinyMCEAsset; use spicyweb\tinymce\assets\tinymce\TinyMCEAsset instead

Fixed

  • Fixed a bug where TinyMCE fields could cause 404 errors when attempting to load translations

Version 1.1.1

October 26, 2022

Fixed

  • Fixed a bug with the TinyMCE Field settings template, that caused issues when using TinyMCE Field within a Matrix field

Version 1.1.0

October 9, 2022

Added

  • 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

Changed

  • When installed, the plugin now saves Default.json, Full.json and Simple.json TinyMCE config files in a Craft install's config/tinymce directory, if the files didn't already exist

Fixed

  • Fixed a bug where the craftcms/html-field package dependency wasn't set

Version 1.0.1

September 26, 2022

Fixed

  • Fixed a bug where clicking on a TinyMCE dialog backdrop wouldn't close the dialog

Version 1.0.0

September 15, 2022

Added

  • Initial release, using TinyMCE 6.1.2