Skip to content

refactor editor callbacks, ensure card/atom changes go through callbacks #319

@bantic

Description

@bantic

Refactor and document the editor's lifecycle callbacks.

  • Remove the on event-emitting construction in favor of registering callbacks by name
  • Ensure changes to card payload trigger the appropriate callbacks
  • Ensure changing card display state triggers callbacks
  • deprecate on('update') (aka didUpdate) callback (in favor of didRender)
  • do not run callbacks after editor is destroyed

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions