) {
+ editor?.chain().focus().setTextBoxAttrs(attrs).run();
+ }
+
+ const wrapModes: { mode: WrapMode; title: string }[] = [
+ { mode: 'inline', title: 'In line with text' },
+ { mode: 'left', title: 'Wrap text — box left' },
+ { mode: 'right', title: 'Wrap text — box right' },
+ { mode: 'topBottom', title: 'Top and bottom' },
+ ];
+
+ const shapes: { kind: ShapeKind; title: string }[] = [
+ { kind: 'textbox', title: 'Rectangle' },
+ { kind: 'roundRect', title: 'Rounded rectangle' },
+ { kind: 'ellipse', title: 'Ellipse' },
+ ];
+
+ const strokeWidths = [0.5, 1, 2.25];
+
+
+
+
+
diff --git a/src/lib/components/ToolbarExpanded.svelte b/src/lib/components/ToolbarExpanded.svelte
index 0253823..e7ea6b3 100644
--- a/src/lib/components/ToolbarExpanded.svelte
+++ b/src/lib/components/ToolbarExpanded.svelte
@@ -1231,6 +1231,17 @@
style="display:none"
onchange={onImageFile}
/>
+