What can Slate let you customize?
Slate’s React setup gives you an editable area that you can extend with your own rules and controls. For example, a writing form can let someone insert a reference with a label chosen by the app. Decide what the control should do when a writer edits or pastes around that reference.
Does typing in Slate save the draft?
Your app needs to save the content value and load it when the writer returns. Slate’s example stores the JSON in the current browser. If people need to open the draft on another device, connect the save and reload steps to storage your app controls.
What do you need to move a draft out of Slate?
Keep the original JSON and decide how each custom content type should appear in the destination. The official guide shows how to write conversion logic for plain text or HTML. For a labeled reference, check whether the destination preserves both the label and the link you meant to keep.
What do you take on when you choose Slate?
Slate is MIT-licensed and the project describes it as beta. Pin the packages you use and test an old saved document after upgrading. Keep the editor’s controls, custom content definitions and conversion code with the app.
How would you check a draft with a linked reference?
Sketch a fictional note with two lines and one reference. Mark what happens when the note is saved, reopened and copied out.
- Define the saved resultShow the reference label and where it leads. Decide what the writer sees when the app cannot save.
- Choose a fallbackIf the receiving app accepts only plain text, decide whether it should receive the label and the URL, or only the label.