This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when rich content is deleted.
function onRichContentDeleted(handler: function): void;
handler(event: RichContentDeletedEnvelope): void | Promise<void>
import { ricos } from "@wix/events";
ricos.onRichContentDeleted((event) => {
// handle your event here
});