diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cd65955..d6b7c73c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ - Fixed a bug where all of a package’s toolbar items were shown as a single group in the toolbar builder, instead of as separately-placeable items and groups. - Fixed a bug where the “Displayed text” value was ignored when inserting a new element link, and the element’s title was used instead. ([#617](https://github.com/craftcms/ckeditor/pull/617)) - Fixed a bug where links’ types would change to “URL” if a URL suffix was entered before an element was chosen. ([#619](https://github.com/craftcms/ckeditor/issues/619), [#624](https://github.com/craftcms/ckeditor/pull/624)) +- Fixed an error that could occur when uninstalling CKEditor. ([#623](https://github.com/craftcms/ckeditor/issues/623)) ## 5.7.0 - 2026-08-10 diff --git a/src/migrations/Install.php b/src/migrations/Install.php index 325d98cd..8818dbb8 100644 --- a/src/migrations/Install.php +++ b/src/migrations/Install.php @@ -40,7 +40,7 @@ public function safeUp(): bool */ public function safeDown(): bool { - echo "m260427_230945_references cannot be reverted.\n"; - return false; + $this->dropTableIfExists(Plugin::TABLE_REFERENCES); + return true; } }