Widget definition insert method should include editor instance and command data #2253
Labels
changelog:api
A changelog entry should be put in the API section of the changelog.
good first issue
Relatively easy to fix. This is a perfect issue if you are willing to create a Pull Request.
plugin:widget
The plugin which probably causes the issue.
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
Type of report
Feature request
Provide description of the new feature
As requested in the #235 PR, currently widgetDefinition.insert doesn't feature neither
editor
norcommandData
passed to the command that caused the insert method call.While
editor
issue could be mitigated, by storingeditor
variable as a local variable in the scope, and passing it later on, same can not happen forcommandData
.Adding options object to the API that would provide
editor
andcommandData
will solve this problem.The text was updated successfully, but these errors were encountered: