Writing and media
How entries move from draft to published, what the editor can do, how images work, and what the built-in AI is for.
Drafts and publishing
- A new entry is a draft. Drafts are visible in the app and, with a preview token, to your own preview route. They are never in the public API.
- Publish makes the entry available through the API. Unpublish takes it back to a draft. Both can be done any time.
- Use search and the status filter on the entries list to find drafts quickly.
- Deleting an entry removes it permanently.
If you and a teammate open the same entry, SharpWrite stops the second save from silently overwriting the first and tells you to reload.
The rich-text editor
Fields of type rich text use the editor. It supports headings, lists, quotes, code blocks, links, images, and undo and redo. You can paste from other documents; the server cleans the HTML when you save, so unsupported formatting and scripts are removed.
The API returns rich text as HTML. See Field values.
Images and the media library
- Add an image from the editor toolbar: choose one from the media library or upload a new one. Give it alt text so it is accessible and indexable.
- Accepted formats: PNG, JPEG, GIF and WebP, up to 5 MB each. The file's real type is checked from its contents, not its name, so renaming a file does not get around it.
- Uploads have public addresses and the API returns them as full URLs, so they work on your own domain. Do not upload anything private.
- Storage is limited per workspace by plan on Cloud (see Plans, billing and limits). Self-host uses your own R2 bucket.
Images in rich text are kept only when they are your own media or an https:// image. Other addresses, such as data: images, are removed when the entry is saved.
Version history
Every save is recorded and the newest 20 versions of each entry are kept. Open History on an entry to see them and restore one.
- A restore puts back the content only. The slug and the published state stay as they are.
- A restore is saved as a new version, so you can undo a restore.
- A restore is refused if the old content no longer fits the content type, for example because a required field was added since.
AI writing tools (Cloud)
On SharpWrite Cloud the editor has an AI button. Select some text, or use the whole field, and choose an action:
- Improve writing
- Fix spelling and grammar
- Make it shorter or longer
- Make it friendlier or more professional
You see the result and decide whether to use it. AI never publishes anything on its own. Each plan has a monthly allowance of text actions; a request that is blocked or fails does not use any of it.
AI images (Cloud)
You can generate an image from a description and add it to your media library. The image is saved the same way as an upload, so the storage limit and the file-type checks apply.
- Each plan has a monthly allowance. If generating fails after the allowance was counted, it is given back.
- A content policy is checked before anything is generated. Requests are refused for adult content, minors, real people and deepfakes, graphic violence, illegal activity, hate and self-harm. A refused request costs nothing.
Cloud and Self-host
| Feature | Cloud | Self-host |
|---|---|---|
| Rich-text editor, images, media library | Yes | Yes |
| Version history (last 20) | Yes | Yes |
| Webhooks and draft preview tokens | Yes | Yes |
| Team invitations with roles | Yes (seat limit by plan) | Yes (no seat limit) |
| AI writing tools and AI images | Yes | No |
| Page builder and hosted pages | Yes | No |