Skip to content

Releases: craftcms/ckeditor

3.5.1

29 Aug 21:03
3.5.1
909223e

Choose a tag to compare

  • Fixed a bug where CKEditor inputs weren’t getting any padding within slideouts. (#126)
  • Fixed a bug where the image transform menu wasn’t visible if only one transform was selected for the field. (#131)

3.5.0

22 Aug 18:12
3.5.0
62beca4

Choose a tag to compare

  • 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/convert action will now find and convert craft\fields\MissingField instances that were meant to be Redactor fields.
  • CKEditor fields with the “Insert table” button now include the TableProperties and TableCellProperties plugins. (#103, #115)
  • Norwegian Bokmål and Nynorsk both now load the main Norwegian (no) UI translations. (#113)
  • Added support for setting the toolbar.shouldNotGroupWhenFull CKEditor config option. (#124)
  • The Attr.AllowedFrameTargets and Attr.AllowedRel HTML Purifier config settings are now automatically set based on the CKEditor link configuration. (#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

16 May 19:00
3.4.0
e33e2aa

Choose a tag to compare

  • 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 = true for Redactor fields that had linkNewTab enabled. (#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

02 May 18:28
3.3.0
9973a31

Choose a tag to compare

  • 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

23 Apr 20:33
3.2.1
5315a52

Choose a tag to compare

  • Fixed an error that occurred when a CKEditor field was used in Quick Post widgets.

3.2.0

19 Apr 18:29
3.2.0
e89c788

Choose a tag to compare

  • 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

17 Apr 18:16
3.1.0
ab79355

Choose a tag to compare

  • Added the “Heading Levels” CKEditor config setting.
  • Added the ckeditor/convert command, 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 placeholder config 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

19 Apr 13:22
3.0.0
6b6d50b

Choose a tag to compare

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.