A typographical logo of Contenido.

addFile

Files are atomic (non-text) blocks that are used to embed downloadable links on the webpage.

Usage #

The addFile utility will help you to add file to the editor.

Whenever you use an atomic block in your content, You need to decorate your state to make it available to render your custom non-text content.

Example #

An example of addFile usage:



Made with ❤ for a better experience

MIT © 2023 - This site does not track you.