diff --git a/editor/components/block-list/style.scss b/editor/components/block-list/style.scss index a67b26bef41d5..0bcaac46b62a4 100644 --- a/editor/components/block-list/style.scss +++ b/editor/components/block-list/style.scss @@ -136,6 +136,9 @@ padding-left: $block-padding; padding-right: $block-padding; + // Break long strings of text without spaces so they don't overflow the block. + overflow-wrap: break-word; + @include break-small() { // The block mover needs to stay inside the block to allow clicks when hovering the block padding-left: $block-padding + $block-side-ui-padding - $border-width;