Skip to content

Commit

Permalink
fix(copy-buttons): resolve issue with copy functionality in developer…
Browse files Browse the repository at this point in the history
… tools

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
  • Loading branch information
jenish-thapa committed Aug 10, 2024
1 parent ec38d54 commit f30cd83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/developer-tools/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ <h2>
<h2>
Code Headers
<md-icon-button
class="action-button"
class="action-button copy-button"
data-owner-id="code-headers"
aria-label="Copy code">
<md-icon>content_copy</md-icon>
Expand All @@ -161,7 +161,7 @@ <h2>
<h2>
Block Definition
<md-icon-button
class="action-button"
class="action-button copy-button"
data-owner-id="block-definition"
aria-label="Copy code">
<md-icon>content_copy</md-icon>
Expand All @@ -175,7 +175,7 @@ <h2>
<h2>
Generator Stub
<md-icon-button
class="action-button"
class="action-button copy-button"
data-owner-id="generator-stub"
aria-label="Copy code">
<md-icon>content_copy</md-icon>
Expand Down

0 comments on commit f30cd83

Please sign in to comment.