feat: moved to shared-components and implemented focal point picker in RTE
This commit is contained in:
@@ -213,7 +213,10 @@ async function init() {
|
||||
{
|
||||
// @ts-expect-error: incorrect typings
|
||||
type: "ImageVault",
|
||||
attrs: result,
|
||||
attrs: {
|
||||
...result,
|
||||
FocalPoint: result.FocalPoint || { x: 50, y: 50 },
|
||||
},
|
||||
uid: crypto.randomUUID(),
|
||||
children: [{ text: "" }],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user