False in event data is incorrectly handled as an event cancellation #4652
Labels
core
The issue is caused by the editor core code.
status:confirmed
An issue confirmed by the development team.
type:bug
A bug.
Milestone
Type of report
Bug
Provide detailed reproduction steps (if any)
Expected result
Both
1
and2
are logged.Actual result
Only
1
is logged.Other details
It seems that
false
passed as event data is treated the same way as the marker of event cancellation (ckeditor4/core/event.js
Lines 310 to 318 in 2ed7789
false
in case of event cancellation. Thanks to properties of object (they equal only themselves), we will be able to differentiate between cancelling events and event data set tofalse
.The text was updated successfully, but these errors were encountered: