Editing in Docs and in SeedPage
On a site kept in Google Drive, the pages are Google Docs. Anyone with access can open a page in Google Docs and write there, and anyone can open it in SeedPage's editor. Both change the same Doc: there is no copy to keep in step, and no import or export.
What each one writes
- Google Docs: anything in the Doc, as you type. Text, tables, images, links.
- SeedPage's editor: the tables of the components it changes, the runs of text it edits, and new tables where components are added. It writes the page's settings Sheet too (properties, the width of each component), which Docs never touches.
- SeedPage changes only what you change in it. The rest of the Doc stays exactly as it was written, formatting included.
Each component table carries a hidden name, so the editor finds the table it changes even after the Doc has been rewritten around it (see Component identity in a Doc).
The preview follows Docs
While SeedPage is running, it follows Drive's list of changes every few seconds. A few seconds after someone stops typing in a page's Doc, the preview is built again; open or reload the preview page to see it.
Refreshing the editor
The editor shows the page as it was when it opened it, and after each change made in the editor itself. After writing in Google Docs, reload the editor's tab in the browser to see the Doc as it is now, before changing the same component in the editor.
Opening a page in the editor also gives a hidden name to every table written in Docs that has none yet, so they can be laid out and edited.
Two people at once
- Two people in Google Docs: as always in Docs, they see each other's typing.
- One in Docs and one in SeedPage on different components: both changes stay.
- On the same component: SeedPage writes the whole table from its dialog when you choose Done. Words typed in that table in Docs since the editor last loaded the page are replaced. Agree who edits what, or reload the editor before opening the dialog.
History
Every change is in the Doc's version history in Google Docs (File, Version history), under the name of the person who made it: SeedPage writes as the person signed in, not as a robot. Restoring an older version there restores the page; the preview follows.
Settings Sheets have their own version history in Google Sheets. A page moved to the trash from SeedPage is in Drive's trash for 30 days.
When to use which
- Google Docs: long text, writing with others in real time, comments and suggestions, which SeedPage does not show.
- SeedPage: adding and arranging components, images from the site's assets, widths and layout, page properties, and seeing the page as visitors will.
Suggestions made in Docs (Suggesting mode) are not part of the page until they are accepted.
