Skip to content

Commit

Permalink
Extend events.js (#644)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexej-d authored Aug 9, 2024
1 parent 7bf02ca commit d21ac8f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions public/js/pimcore/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,13 @@ pimcore.events.prepareAffectedNodes = "pimcore.treeNode.prepareAffectedNodes";
*/
pimcore.events.postMenuBuild = "pimcore.menu.postBuild";

/**
* event for manipulating the wysiwyg config
* use it to change the final config that is passed
* the config and the editor context are passed as parameters
*/
pimcore.events.createWysiwygConfig = "pimcore.wysiwyg.createConfig";

/**
* start event for the editor to create the config
* config and context are passed as parameters
Expand Down

0 comments on commit d21ac8f

Please sign in to comment.