mirror of
https://github.com/penpot/penpot.git
synced 2025-07-22 15:17:14 +02:00
🐛 Fix focus list for texts
This commit is contained in:
parent
13560bc866
commit
0f60f115f5
2 changed files with 11 additions and 5 deletions
|
@ -73,6 +73,10 @@
|
|||
(let [block (impl/getCurrentBlock state)]
|
||||
(get-editor-block-data block)))
|
||||
|
||||
(defn is-current-empty
|
||||
[state]
|
||||
(impl/isCurrentEmpty state))
|
||||
|
||||
(defn get-editor-current-inline-styles
|
||||
[state]
|
||||
(if (impl/isCurrentEmpty state)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue