0
Fork 0
mirror of https://github.com/penpot/penpot-plugins.git synced 2025-01-21 06:02:34 -05:00

chore: add keydown to rename layers

This commit is contained in:
Marina López 2024-10-11 10:05:41 +02:00
parent b4664a2adc
commit 56465f4a31

View file

@ -52,6 +52,7 @@
type="text" type="text"
placeholder="[Original layer name]" placeholder="[Original layer name]"
id="addText" id="addText"
(keydown.enter)="updateText()"
/> />
</div> </div>
<button <button
@ -104,6 +105,7 @@
type="text" type="text"
placeholder="Write the new text" placeholder="Write the new text"
id="replace" id="replace"
(keydown.enter)="updateText()"
/> />
</div> </div>
<button <button