All client side hooks received {edits, postId, postStatus, postType}
properties:
prc-platform.onSiteEdit
Occurs every time an update is saved in the site editor.prc-platform.onPostInit
Occurs once, when a post transition from non existent todraft
state.prc-platform.onIncrementalSave
Occurs often, whenever a post in adraft
state is updated.prc-platform.onPublish
Occurs when a post transitions fromdraft
topublish
state.