Add custom-link class to ProseMirror container for styling adjustments in editor component.

This commit is contained in:
MartinBraquet
2026-04-14 14:33:01 +02:00
parent 4398878b9c
commit 70de4ccb81

View File

@@ -258,7 +258,7 @@ function RichContent(props: {content: JSONContent; className?: string; size?: 's
return (
<div
className={clsx(
'ProseMirror',
'ProseMirror custom-link',
className,
proseClass(size),
String.raw`empty:prose-p:after:content-["\00a0"]`, // make empty paragraphs have height