Closed (won't fix)
Project:
Webform
Version:
6.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 May 2021 at 09:46 UTC
Updated:
22 May 2021 at 06:56 UTC
Jump to comment: Most recent
Comments
Comment #2
jrockowitz commentedCouldn't this be accomplished with something like..
<script>document.write('<' + 'script src="//localhost/wf/webform/contact/share.js?' + location.search + '"></' + 'script>');</script>Comment #3
jrockowitz commentedComment #4
cedric_aI tested your idea which I like because it could save us to use a regex... it's working when I just use the suggested script to embed a form but I faced caching issues (query parameters won't update in the iframe src after first display). I'll do more testing and will report my fidings here in the next days.
Comment #5
jrockowitz commented@see #3209749: Webform Share Script share.js missing Cacheable Dependency for distinct webform and node rendering
Comment #6
jrockowitz commentedI think my suggestion resolves this issue and we should focus on #3209749: Webform Share Script share.js missing Cacheable Dependency for distinct webform and node rendering