From 02bb446ed2c8c72536e1db2f53a4a86349d6d794 Mon Sep 17 00:00:00 2001 From: Tim Fischbach Date: Thu, 28 Nov 2024 10:08:22 +0100 Subject: [PATCH] Make hotspots element generally available Also remove unsed image gallery feature flag. REDMINE-20673 --- entry_types/scrolled/config/locales/new/hotspots.de.yml | 3 --- entry_types/scrolled/config/locales/new/hotspots.en.yml | 3 --- entry_types/scrolled/lib/pageflow_scrolled/plugin.rb | 2 -- .../package/src/contentElements/hotspots/editor/index.js | 1 - 4 files changed, 9 deletions(-) diff --git a/entry_types/scrolled/config/locales/new/hotspots.de.yml b/entry_types/scrolled/config/locales/new/hotspots.de.yml index 1c7f534ba..ff4b8ec53 100644 --- a/entry_types/scrolled/config/locales/new/hotspots.de.yml +++ b/entry_types/scrolled/config/locales/new/hotspots.de.yml @@ -1,7 +1,4 @@ de: - pageflow: - hotspots_content_element: - feature_name: Hotspots Inhaltselement pageflow_scrolled: inline_editing: select_link_destination: "Link-Ziel auswählen" diff --git a/entry_types/scrolled/config/locales/new/hotspots.en.yml b/entry_types/scrolled/config/locales/new/hotspots.en.yml index 56cafed89..c7033faf0 100644 --- a/entry_types/scrolled/config/locales/new/hotspots.en.yml +++ b/entry_types/scrolled/config/locales/new/hotspots.en.yml @@ -1,7 +1,4 @@ en: - pageflow: - hotspots_content_element: - feature_name: Hotspots content element pageflow_scrolled: inline_editing: select_link_destination: "Select link destination" diff --git a/entry_types/scrolled/lib/pageflow_scrolled/plugin.rb b/entry_types/scrolled/lib/pageflow_scrolled/plugin.rb index 6a97ffc09..908cd0a20 100644 --- a/entry_types/scrolled/lib/pageflow_scrolled/plugin.rb +++ b/entry_types/scrolled/lib/pageflow_scrolled/plugin.rb @@ -37,8 +37,6 @@ def configure(config) c.features.register('datawrapper_chart_embed_opt_in') c.features.enable_by_default('datawrapper_chart_embed_opt_in') c.features.register('iframe_embed_content_element') - c.features.register('hotspots_content_element') - c.features.register('image_gallery_content_element') c.features.register('frontend_v2') c.features.register('scrolled_entry_fragment_caching') c.features.register('backdrop_content_elements') diff --git a/entry_types/scrolled/package/src/contentElements/hotspots/editor/index.js b/entry_types/scrolled/package/src/contentElements/hotspots/editor/index.js index 3d4b15e6e..6bde2b63f 100644 --- a/entry_types/scrolled/package/src/contentElements/hotspots/editor/index.js +++ b/entry_types/scrolled/package/src/contentElements/hotspots/editor/index.js @@ -18,7 +18,6 @@ editor.registerSideBarRouting({ editor.contentElementTypes.register('hotspots', { pictogram, category: 'interactive', - featureName: 'hotspots_content_element', supportedPositions: ['inline', 'sticky', 'standAlone', 'left', 'right', 'backdrop'], supportedWidthRange: ['xxs', 'full'],