diff --git a/package.json b/package.json index ebe1b67..9e7a134 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "type": "module", "scripts": { "dev": "concurrently --kill-others --names client,worker --prefix-colors blue,red yarn:dev:client yarn:dev:worker", - "dev:client": "vite", + "dev:client": "vite --host", "dev:worker": "wrangler dev", "build": "tsc && vite build", "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0", @@ -55,4 +55,4 @@ "vite-plugin-wasm": "^3.2.2", "wrangler": "^3.72.3" } -} +} \ No newline at end of file diff --git a/src/shapes/EmbedShapeUtil.tsx b/src/shapes/EmbedShapeUtil.tsx index 6782bdb..2dcda48 100644 --- a/src/shapes/EmbedShapeUtil.tsx +++ b/src/shapes/EmbedShapeUtil.tsx @@ -22,7 +22,12 @@ export class EmbedShape extends BaseBoxShapeUtil { } indicator(shape: IEmbedShape) { - return ; + return ( + + + + + ); } component(shape: IEmbedShape) { @@ -35,7 +40,7 @@ export class EmbedShape extends BaseBoxShapeUtil { if (!shape.props.url) { return ( -
+
{ placeholder="Enter URL" style={{ width: shape.props.w, height: shape.props.h }} /> - +
);