Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#17027 closed Task (fixed)

Commands event data should be initialized as an empty object

Reported by: Tomasz Jakut Owned by: Tomasz Jakut
Priority: Normal Milestone: CKEditor 4.7.0
Component: General Version:
Keywords: Cc:

Description

Currently if command is not passed an object as a second argument, it fall backs to undefined, causing the unability to pass anything from command to afterCommandExec event.

This change is intended to introduce empty object as a default value for command's event data.

Change History (4)

comment:1 Changed 3 months ago by Tomasz Jakut

Owner: set to Tomasz Jakut
Status: newassigned

comment:2 Changed 3 months ago by Marek Lewandowski

comment:3 Changed 3 months ago by Marek Lewandowski

Resolution: fixed
Status: assignedclosed

comment:4 Changed 3 months ago by Marek Lewandowski

Version: 4.7.0 (GitHub - major)
Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy