mirror of
https://github.com/penpot/penpot.git
synced 2026-06-09 08:52:05 +00:00
Merge remote-tracking branch 'origin/main' into staging
This commit is contained in:
commit
6d77ca3fc1
@ -63,7 +63,7 @@
|
||||
;; Ensure it's always enabled whenever render-wasm/v1 is active.
|
||||
(if (contains? features "render-wasm/v1")
|
||||
(conj features "text-editor/v2")
|
||||
(disj features "text-editor/v2"))))
|
||||
(disj features "text-editor/v2" "text-editor-wasm/v1"))))
|
||||
|
||||
(defn get-enabled-features
|
||||
"An explicit lookup of enabled features for the current team"
|
||||
|
||||
@ -14,7 +14,8 @@
|
||||
(defn dom->cljs
|
||||
"Gets the editor content from a DOM structure"
|
||||
[root]
|
||||
(fd/create-root root))
|
||||
(when (some? root)
|
||||
(fd/create-root root)))
|
||||
|
||||
(defn cljs->dom
|
||||
"Sets the editor content from a CLJS structure"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user