diff --git a/ghost/admin/app/services/feature.js b/ghost/admin/app/services/feature.js index c8ab948c7c..224d8e7333 100644 --- a/ghost/admin/app/services/feature.js +++ b/ghost/admin/app/services/feature.js @@ -73,6 +73,7 @@ export default class FeatureService extends Service { @feature('makingItRain') makingItRain; @feature('migrateApp') migrateApp; @feature('i18n') i18n; + @feature('postHistory') postHistory; _user = null; diff --git a/ghost/admin/app/templates/settings/labs.hbs b/ghost/admin/app/templates/settings/labs.hbs index 2b2ce3fd0b..3a265b7541 100644 --- a/ghost/admin/app/templates/settings/labs.hbs +++ b/ghost/admin/app/templates/settings/labs.hbs @@ -305,6 +305,19 @@ +
+
+
+

Post history

+

+ Enables post history revision within the editor +

+
+
+ +
+
+
{{/if}} diff --git a/ghost/core/core/shared/labs.js b/ghost/core/core/shared/labs.js index 4c34811b31..1a52915e75 100644 --- a/ghost/core/core/shared/labs.js +++ b/ghost/core/core/shared/labs.js @@ -39,7 +39,8 @@ const ALPHA_FEATURES = [ 'lexicalMultiplayer', 'websockets', 'stripeAutomaticTax', - 'makingItRain' + 'makingItRain', + 'postHistory' ]; module.exports.GA_KEYS = [...GA_FEATURES];