Sha256: 64dd140007319b064ebed1fec4ff9bd01792c0f5a1656d3e18bcb9e3937d4661
Contents?: true
Size: 1.27 KB
Versions: 6
Compression:
Stored size: 1.27 KB
Contents
module PageflowScrolled module Editor # @api private module SeedHtmlHelper include EntryJsonSeedHelper include ReactServerSideRenderingHelper include Pageflow::WidgetsHelper include Pageflow::StructuredDataHelper include Pageflow::TextDirectionHelper include PageflowScrolled::CacheHelper include FaviconHelper include PacksHelper include WebpackPublicPathHelper def scrolled_editor_iframe_seed_html_script_tag(entry) html = render(template: 'pageflow_scrolled/entries/show', locals: { entry: entry, widget_scope: :editor, skip_ssr: true, skip_structured_data: true, skip_feed_link_tags: true, seed_options: { skip_collections: true, include_unused_additional_seed_data: true, translations: {include_inline_editing: true} } }) content_tag(:script, html.gsub('</', '<\/').html_safe, type: 'text/html', data: {template: 'iframe_seed'}) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems