06262ecf33
refs @TryGhost/Team#3076 - added `save_revision` option to edit post endpoint - this change covers the following cases: 1. we will not save a `post_revision` on every background autosave that occurs after 3 seconds of inactivity in the editor 2. we will save a `post_revision` when the user hits `cmd+s` in the editor to explicitly save 3. we will save a `post_revision` when the user navigates away from the editor (e.g. by clicking the 'Posts' breadcrumb in the editor) 4. we will save a `post_revision` when the user publishes a post 5. we will save a `post_revision` when a user updates an already published post |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
package.json | ||
README.md |
Post Revisions
Usage
Develop
This is a monorepo package.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Test
yarn lint
run just eslintyarn test
run lint and tests