mirror of
https://github.com/penpot/penpot.git
synced 2025-07-24 22:07:19 +02:00
🎉 Default naming of text layers
This commit is contained in:
parent
08c6ebe10c
commit
5993b9855e
5 changed files with 20 additions and 5 deletions
|
@ -43,6 +43,10 @@
|
|||
(js->clj :keywordize-keys true)
|
||||
(txt/convert-from-draft)))
|
||||
|
||||
(defn get-editor-current-plain-text
|
||||
[state]
|
||||
(.getPlainText (.getCurrentContent ^js state)))
|
||||
|
||||
(defn get-editor-current-content
|
||||
[state]
|
||||
(.getCurrentContent ^js state))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue