Translation tools
Sync and local first
- https://adamwulf.me/2022/04/atomic-attributes-in-local-first-sync/
- Last write wins
- ID per device
- Scope? ⇒ Presentation ID + document (ie. original | translation)
- Atomic writes ⇒ what is the minimum change we can track to avoid conflicts as much as possible?
- Block ID ⇒ EditorJS doesn’t expose an AST or events per block
- Order of the blocks (
Array<Block ID>
)
- With this we cover order (duh!) and deletion/creation of blocks
- Block updates are only about the content
- Should the whole history be persisted or only the latest message (by Device ID) for each block?
- Abstract away the persistence layer ⇒ Ie. the Editor component doesn’t (need to) know if the changes were only saved locally or persisted in the network
Editor

Concepts
Tunes Menu
is the ::
, which are the settings for the current block?