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:
parent
b4664a2adc
commit
56465f4a31
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue