diff --git a/apps/www/src/registry/default/plate-ui/editor.tsx b/apps/www/src/registry/default/plate-ui/editor.tsx index 069132a11c..88da13a5cd 100644 --- a/apps/www/src/registry/default/plate-ui/editor.tsx +++ b/apps/www/src/registry/default/plate-ui/editor.tsx @@ -48,7 +48,7 @@ EditorContainer.displayName = 'EditorContainer'; const editorVariants = cva( cn( 'group/editor', - 'relative w-full whitespace-pre-wrap break-words', + 'relative w-full overflow-x-hidden whitespace-pre-wrap break-words', 'rounded-md ring-offset-background placeholder:text-muted-foreground/80 focus-visible:outline-none', '[&_[data-slate-placeholder]]:text-muted-foreground/80 [&_[data-slate-placeholder]]:!opacity-100', '[&_[data-slate-placeholder]]:top-[auto_!important]', diff --git a/apps/www/src/registry/default/plate-ui/table-element.tsx b/apps/www/src/registry/default/plate-ui/table-element.tsx index 39b572455c..41912768ab 100644 --- a/apps/www/src/registry/default/plate-ui/table-element.tsx +++ b/apps/www/src/registry/default/plate-ui/table-element.tsx @@ -206,7 +206,7 @@ export const TableElement = withHOC( return ( -
+