Editor
svelte
Loading...Saving & Loading Content
After typing and clicking save, the JSON content and any images used in the editor will be stored in the content variable.
The content variable can also be used to load previously saved content.
The JSON content is important because it preserves all styling and content from the editor, and can be saved in a database.
Read only
To read content created in this editor, use readOnly mode
svelte
Loading...Inserting Images
The editor primarily uses File Picker to handle multiple image uploads and insertions. An input has also been provided to key in image URLs manually.
File Picker
The File Picker runs on Cloudflare R2 as a backend storage solution. Follow this guide to set up your own backend
svelte
Loading...