fix: disable StarterKit's bundled link/underline to avoid duplicate extensions
This commit is contained in:
@@ -139,6 +139,8 @@ export function RichTextEditor({
|
|||||||
extensions: [
|
extensions: [
|
||||||
StarterKit.configure({
|
StarterKit.configure({
|
||||||
heading: { levels: [1, 2] },
|
heading: { levels: [1, 2] },
|
||||||
|
link: false,
|
||||||
|
underline: false,
|
||||||
}),
|
}),
|
||||||
Underline,
|
Underline,
|
||||||
Link.configure({
|
Link.configure({
|
||||||
|
|||||||
Reference in New Issue
Block a user