Releases: craftcms/ckeditor
Releases · craftcms/ckeditor
3.5.1
3.5.0
- CKEditor now requires Craft 4.5.0 or later.
- Added the “Word Limit” field setting. (#107)
- Added the “List Plugin” CKEditor config setting. (#112, #122)
- Added the Text part language feature.
- Added keyboard shortcuts for switching the heading type for a given block. (#106, #116)
- CKEditor config edit pages now have a “Save and continue editing” alternative submit action, and the Command/Ctrl + S keyboard shortcut now redirects back to the edit page. (#108)
- CKEditor config edit pages now have a “Save as a new config” alternative submit action. (#110)
- The
ckeditor/convertaction will now find and convertcraft\fields\MissingFieldinstances that were meant to be Redactor fields. - CKEditor fields with the “Insert table” button now include the
TablePropertiesandTableCellPropertiesplugins. (#103, #115) - Norwegian Bokmål and Nynorsk both now load the main Norwegian (no) UI translations. (#113)
- Added support for setting the
toolbar.shouldNotGroupWhenFullCKEditor config option. (#124) - The
Attr.AllowedFrameTargetsandAttr.AllowedRelHTML Purifier config settings are now automatically set based on the CKEditorlinkconfiguration. (#79) input[type=checkbox]is now automatically added to the HTML Purifier definition, for editors that include the To-do List button. (#121)- Added
craft\ckeditor\Plugin::registerCkeditorPackage(). - Deprecated
craft\ckeditor\web\assets\ckeditor\CkeditorAsset::EVENT_PUBLISH. - Fixed a bug where could get marked as dirty when focussed, without making any changes. (#90)
- Fixed a bug where the Norwegian Nynorsk UI translations weren’t working. (#113)
- Updated CKEditor 5 to 39.0.1.
3.4.0
- Added the ability to change an image’s transform. (#94)
- Added support for registering additional CKEditor plugins. (#97)
- CKEditor configs generated from Redactor fields no longer set
link.addTargetToExternalLinks = truefor Redactor fields that hadlinkNewTabenabled. (#98) - Image and media markup defined by Redactor fields now gets updated to be consistent with how CKEditor likes it. (#96, #100)
- Fixed a JavaScript error that occurred if there were no sections, category groups, or volumes.
- Fixed a bug where inserted images were missing their ref tag hashes, if no transform was selected and the field was configured with a default transform.
- Added
craft\ckeditor\web\assets\BaseCkeditorPackageAsset. - Added
craft\ckeditor\web\assets\ckeditor\CkeditorAsset::EVENT_PUBLISH. - Updated CKEditor 5 to 37.1.0.
3.3.0
- Added the “Show the ‘Source’ button for non-admin users?” field setting. (#82)
- Link dropdowns now include an “Insert link” option. (#78)
- Link edit forms now include a site selection dropdown, when the URL contains a localizable element’s reference tag. (#89)
- Tables now show a toolbar with row, column, and cell-merging controls. (#81)
- Improved the styling of code blocks’ language labels.
- Fixed a bug where fields with
<br>tags and non-breaking spaces would get marked as dirty without making any changes. (#85, #90) - Fixed a bug where changes in Source mode weren’t getting saved, unless Source mode was deactivated. (#84)
3.2.1
- Fixed an error that occurred when a CKEditor field was used in Quick Post widgets.
3.2.0
- Added the “Show word count” field setting. (#75)
- Added the Font CKEditor plugin, which provides “Font Size” “Font Family”, “Font Color”, and “Font Background Color” toolbar buttons.
- Ordered/unordered list buttons now include additional options.
- Config options are now automatically updated when “Heading”, “Style”, “Alignment”, and “Font Size” buttons are added/removed in the toolbar. (#73)
- Fixed a bug where unordered lists weren’t padded. (#72)
3.1.0
- Added the “Heading Levels” CKEditor config setting.
- Added the
ckeditor/convertcommand, for converting Redactor fields/configs to CKEditor. (#68) - “Config Options” settings can now be entered as JSON, with autocompletion and automatic JavaScript-to-JSON reformatting on paste. (#66, #67)
- The
placeholderconfig option now gets translated, when the config options are defined as JSON. - Images now have caption and alternative text toolbar items by default.
- CKEditor instances no longer support editing features that aren’t explicitly allowed via toolbar items. (#65)
- Added
craft\ckeditor\events\ModifyConfigEvent. - Added
craft\ckeditor\Field::EVENT_MODIFY_CONFIG. (#70) - Fixed a bug where editor toolbars would overlap the control panel header when scrolling.
- Fixed a bug where the editor UI wasn’t getting translated.
3.0.0
Warning
This is a major overhaul of the plugin. Your existing CKEditor fields and content will remain in-tact, however you’ll need to reconfigure your fields with a new CKEditor Config.
- CKEditor 5 now comes bundled with the plugin.
- Dropped support for CKEditor 4 and custom builds.
- Added globally-managed CKEditor configurations, featuring drag-n-drop toolbars, and inputs for defining custom config options and CSS styles.
- Added the ability to create links to entries, categories, and assets.
- Added the ability to insert asset images, optionally with a transform pre-applied.
- The “Available Volumes”, “Available Transforms”, “Default Transform”, “Show unpermitted volumes”, and “Show unpermitted files” field settings are now supported for CKEditor 5.
- Removed the “Initialization Code” field setting.
- Added
craft\ckeditor\Field::EVENT_DEFINE_LINK_OPTIONS. - Added
craft\ckeditor\events\DefineLinkOptionsEvent. - Removed
craft\ckeditor\events\ModifyPurifierConfigEvent.