🎉 Default naming of text layers

This commit is contained in:
Alejandro Alonso 2023-04-10 11:32:48 +02:00
parent 08c6ebe10c
commit 5993b9855e
5 changed files with 20 additions and 5 deletions

View file

@ -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))