0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00

Added media inliner feature alpha flag

refs https://github.com/TryGhost/Toolbox/issues/524

- This flag will be used to test the trigger to external media inliner job
- The Admin UI is still unclear so sticking it behind the flag for some experimentation before shipping the feature
This commit is contained in:
Naz 2023-03-03 10:53:50 +08:00
parent 7bc7881088
commit a479b719ea
No known key found for this signature in database
3 changed files with 15 additions and 0 deletions

View file

@ -72,6 +72,7 @@ export default class FeatureService extends Service {
@feature('milestoneEmails') milestoneEmails;
@feature('websockets') websockets;
@feature('stripeAutomaticTax') stripeAutomaticTax;
@feature('mediaInliner') mediaInliner;
_user = null;

View file

@ -265,6 +265,19 @@
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">External Media Inliner</h4>
<p class="gh-expandable-description">
Inline external media hotlinked in post's content.
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="mediaInliner" />
</div>
</div>
</div>
</div>
</div>
{{/if}}

View file

@ -35,6 +35,7 @@ const BETA_FEATURES = [
const ALPHA_FEATURES = [
'urlCache',
'mediaInliner',
'lexicalEditor',
'websockets',
'webmentionEmails',