Skip to content

Latest commit

 

History

History
166 lines (111 loc) · 5.57 KB

CHANGELOG.md

File metadata and controls

166 lines (111 loc) · 5.57 KB

Changelog

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.

2.0.1 - 2024-10-25

Fixed

  • 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

2.0.0 - 2024-04-07

Added

  • Added Craft 5 compatibility

Changed

  • Updated the distributed TinyMCE to 7.0.0
  • spicyweb\tinymce\enums\TinyMCESource is now a proper enum, rather than an abstract class

Removed

  • Removed Craft 4 compatibility

1.5.1 - 2024-10-25

Fixed

  • 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

1.5.0 - 2024-04-07

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

1.4.10 - 2024-02-16

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

1.4.9 - 2024-02-07

Fixed

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

1.4.8 - 2024-02-02

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

1.4.7 - 2024-01-16

Changed

  • Updated the distributed TinyMCE to 6.8.2

1.4.6 - 2023-12-18

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

1.4.5 - 2023-12-12

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

1.4.4 - 2023-12-10

Fixed

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

1.4.3 - 2023-12-09

Fixed

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

1.4.2 - 2023-10-26

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

1.4.1 - 2023-07-02

Fixed

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

1.4.0 - 2023-07-01

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

1.3.0 - 2023-02-15

Added

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

Fixed

  • Fixed bugs when using the editorCloudApiKey plugin setting

1.2.1 - 2022-10-31

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

1.2.0 - 2022-10-27

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

1.1.1 - 2022-10-26

Fixed

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

1.1.0 - 2022-10-09

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

1.0.1 - 2022-09-26

Fixed

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

1.0.0 - 2022-09-15

Added

  • Initial release, using TinyMCE 6.1.2