Releases: craftcms/ckeditor
Releases · craftcms/ckeditor
3.7.1
- Fixed a JavaScript error.
3.7.0
- Link element selector modals now include custom sources. (#139)
- Updated CKEditor 5 to 41.0.0. (#141, #148)
- Added the
RemoveFormat
CKEditor plugin. (#143) - Added the
TodoDocumentList
CKEditor plugin. (#148) - Removed the
List
,ListProperties
, andTodoList
CKEditor plugins. (#148) - CKEditor fields now get a
not-allowed
cursor when viewing entry revisions. (#142) - Fixed a bug where the CKEditor config-creation slideout could keep reappearing if canceled. (#138)
- Fixed a conflict with
nystudio107/craft-code-editor
1.0.14 and 1.0.15. (#150)
3.6.0
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/convert
action will now find and convertcraft\fields\MissingField
instances that were meant to be Redactor fields. - CKEditor fields with the “Insert table” button now include the
TableProperties
andTableCellProperties
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
andAttr.AllowedRel
HTML Purifier config settings are now automatically set based on the CKEditorlink
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
- 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 hadlinkNewTab
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
- 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/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.