Error on remove image link / ready event is fired more than once #17252
Labels
package:image
package:link
pending:feedback
This issue is blocked by necessary feedback.
type:bug
This issue reports a buggy (incorrect) behavior.
Milestone
When removing a link from image, the following error is being displayed on console:
Reproduction steps:
The error above will be displayed into console. Also, everytime you try to remove the link the event 'ready' is fired again (on angular app).
Issue can be seen on the feature reach editor: https://ckeditor.com/ckeditor-5/demo/feature-rich/ (just can't validate it it calls 'ready' more than once also.
✔️ Expected result
Link should be removed and no error should be displayed on console. Ready event should be fired only once, not every link removal.
❌ Actual result
Error is displayed on console, ready event is fired for every link removal.
📃 Other details
"@ckeditor/ckeditor5-editor-classic": "~43.2.0"
"@ckeditor/ckeditor5-image": "~43.2.0"
"@ckeditor/ckeditor5-link": "~43.2.0"
Editor config:
{
link: {
addTargetToExternalLinks: true
}
};
The text was updated successfully, but these errors were encountered: