-
-
Notifications
You must be signed in to change notification settings - Fork 3
Exception thrown on control panel requests when using CKEditor 4.x and Footnotes 5.2.0 #36
Copy link
Copy link
Closed
Description
Describe the bug
I'm still on CKEditor 4.11.3, and after updating Footnotes from 5.1.3 to 5.2.0, the following exception is thrown on control panel requests:
yii\base\ErrorException: Declaration of verbb\footnotes\assetbundles\CkEditorAsset::registerPackage(): void must be compatible with craft\ckeditor\web\assets\BaseCkeditorPackageAsset::registerPackage(craft\web\View $view): void in /var/www/html/vendor/verbb/footnotes/src/assetbundles/CkEditorAsset.php:44
Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleFatalError()
#1 {main}
I'm guessing this is due to the fix for #35, but considering CKEditor 5 is a major release (and a slightly controversial one at that), it'd probably be a good idea to if Footnotes 5.2+ is made backwards compatible w/ CKEditor 4.x, for the immediate future at least 😅
Steps to reproduce
- Have CKEditor 4.11.3 + Footnotes 5.2.0 installed
- Visit the control panel
Craft CMS version
5.9.16
Plugin version
5.2.0
Multi-site?
Yes
Additional context
CKEditor version is 4.11.3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels