I am creating an email feature, so users can send out emails from the backoffice.
I am following this tutorial:
https://payloadcms.com/docs/fields/rich-text#example
It uses SlateJS custom Button named CustomCallToActionButtonand custom Element CustomCallToActionElement.
Does anyone have a link to a tutorial or code where these Buttons and Elements have actually been implemented.
Right now it is quite difficult to code without any tutorial or standard.
I have also reviewed the following code.
https://github.com/payloadcms/payload/blob/master/src/fields/config/types.ts#L380
The best way to build a modern backend + admin UI. No black magic, all TypeScript, and fully open-source, Payload is both an app framework and a headless CMS. - payloadcms/payload