#CustomCallToActionButton in Rich-Text Editor

3 messages · Page 1 of 1 (latest)

oak isle
#

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

GitHub

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

Payload CMS

Payload is a headless CMS and application framework built with TypeScript, Node.js, React and MongoDB

sonic vergeBOT
queen coral