Skip to content

Commit

Permalink
feat(cartaeditor): add tooltip on quick toolbar icon buttons (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
BearToCode authored Jan 19, 2024
2 parents d3f3b4c + 4693658 commit d332852
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/carta-md/src/lib/CartaEditor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
<button
class="carta-icon"
tabindex={index == 0 ? 0 : -1}
title={icon.label}
aria-label={icon.label}
on:click|preventDefault|stopPropagation={() => {
carta.input && icon.action(carta.input);
Expand Down

0 comments on commit d332852

Please sign in to comment.