mirror of
https://github.com/penpot/penpot.git
synced 2025-07-22 05:37:14 +02:00
Merge remote-tracking branch 'origin/plugins-beta-test' into develop
This commit is contained in:
commit
19b2f330dd
24 changed files with 1911 additions and 1040 deletions
|
@ -156,10 +156,11 @@
|
|||
|
||||
(mf/defc tr-html*
|
||||
{::mf/props :obj}
|
||||
[{:keys [content class tag-name]}]
|
||||
[{:keys [content class tag-name on-click]}]
|
||||
(let [tag-name (d/nilv tag-name "p")]
|
||||
[:> tag-name {:dangerouslySetInnerHTML #js {:__html content}
|
||||
:className class}]))
|
||||
:className class
|
||||
:on-click on-click}]))
|
||||
|
||||
;; DEPRECATED
|
||||
(defn use-locale
|
||||
|
|
|
@ -134,3 +134,4 @@
|
|||
(catch :default err
|
||||
(.error js/console err)
|
||||
nil)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue