Skip to content

Commit f3b0e8b

Browse files
committed
chore: update weave.js
1 parent ca6b60e commit f3b0e8b

3 files changed

Lines changed: 1240 additions & 2609 deletions

File tree

code/components/room-components/hooks/use-on-paste-external-text.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ export function useOnPasteExternalText() {
124124
const textNode = textNodeHandler.create(textNodeId, {
125125
x: position.x,
126126
y: position.y,
127-
layout: TEXT_LAYOUT.AUTO_ALL,
127+
width: 800,
128+
smartFixedWidth: true,
129+
layout: TEXT_LAYOUT.SMART,
128130
fontSize: 20,
129131
fontFamily: "Arial, sans-serif",
130132
fill: "#000000",

0 commit comments

Comments
 (0)