🐛 Fix problem with fills in text range

This commit is contained in:
alonso.torres
2026-03-25 15:35:37 +01:00
committed by Alonso Torres
parent 1740d2e3d1
commit 52a576dc4d

View File

@@ -11,7 +11,7 @@
[app.common.geom.shapes.text :as gst]
[app.common.record :as crc]
[app.common.schema :as sm]
[app.common.types.shape :as cts]
[app.common.types.fills :as types.fills]
[app.common.types.text :as txt]
[app.main.data.workspace.shapes :as dwsh]
[app.main.data.workspace.texts :as dwt]
@@ -370,7 +370,7 @@
(fn [_ value]
(let [value (parser/parse-fills value)]
(cond
(not (sm/validate [:vector ::cts/fill] value))
(not (sm/validate [:vector types.fills/schema:fill] value))
(u/not-valid plugin-id :fills value)
(not (r/check-permission plugin-id "content:write"))