bullet03 commented on code in PR #21959:
URL: https://github.com/apache/beam/pull/21959#discussion_r916989427


##########
website/www/site/content/en/get-started/try-beam-playground.md:
##########
@@ -25,7 +26,7 @@ You can try the available Apache Beam examples at
 
 ## Beam Playground WordCount Example
 
-{{< playground "true" 
"SDK_JAVA/PRECOMPILED_OBJECT_TYPE_EXAMPLE/MinimalWordCount" "" "700px">}}
+{{< playground "true" 
"SDK_JAVA/PRECOMPILED_OBJECT_TYPE_EXAMPLE/MinimalWordCount" "" "700px" 
"playgroundIframe">}}

Review Comment:
   renamed playground shortcode to playground_iframe



##########
website/www/site/layouts/shortcodes/playground.html:
##########
@@ -10,10 +10,13 @@
 limitations under the License. See accompanying LICENSE file.
 */}}
 
-<iframe
-    
src="https://frontend-beta-dot-apache-beam-testing.appspot.com/embedded?enabled={{
 .Get 0 }}&example={{ .Get 1 }}&code={{ .Get 2 }}"
-    width="100%"
-    height="{{ .Get 3 }}"
-    class="code-snippet playground"
-    allow="clipboard-write">
-</iframe>
+<div id="playgroundIframeContainer">
+    <iframe
+        
src="https://frontend-beta-dot-apache-beam-testing.appspot.com/embedded?enabled={{
 .Get 0 }}&example={{ .Get 1 }}&code={{ .Get 2 }}"
+        width="100%"
+        height="{{ .Get 3 }}"
+        id="{{ .Get 4 }}"

Review Comment:
   removed id



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to