Skip to content

Commit 5580ec8

Browse files
authored
fix(copy-buttons): resolve issue with copy functionality in developer tools (#2443)
The copy buttons for generated code blocks in Blockly Developer Tools were not functioning correctly in the latest versions of Firefox and Chrome. This fix ensures that the copy buttons work as expected and improves user experience. Related issue: #2433
1 parent ec38d54 commit 5580ec8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/developer-tools/src/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ <h2>
149149
<h2>
150150
Code Headers
151151
<md-icon-button
152-
class="action-button"
152+
class="action-button copy-button"
153153
data-owner-id="code-headers"
154154
aria-label="Copy code">
155155
<md-icon>content_copy</md-icon>
@@ -161,7 +161,7 @@ <h2>
161161
<h2>
162162
Block Definition
163163
<md-icon-button
164-
class="action-button"
164+
class="action-button copy-button"
165165
data-owner-id="block-definition"
166166
aria-label="Copy code">
167167
<md-icon>content_copy</md-icon>
@@ -175,7 +175,7 @@ <h2>
175175
<h2>
176176
Generator Stub
177177
<md-icon-button
178-
class="action-button"
178+
class="action-button copy-button"
179179
data-owner-id="generator-stub"
180180
aria-label="Copy code">
181181
<md-icon>content_copy</md-icon>

0 commit comments

Comments
 (0)