Method editor.addCommand should accept command instances #1582
Labels
changelog:api
A changelog entry should be put in the API section of the changelog.
status:confirmed
An issue confirmed by the development team.
target:major
Any docs related issue that should be merged into a major branch.
type:feature
A feature request.
Milestone
Are you reporting a feature request or a bug?
Feature request
Provide detailed reproduction steps (if any)
Currently
editor.addCommand
method will always convert given command to a baseCKEDITOR.command
class instance.Expected result
Console log should report
true
, it should be possible to add command instances inheriting from or being aCKEDITOR.command
instance.Actual result
Console log reports
false
.The text was updated successfully, but these errors were encountered: