editor: disallow links in inline code

This commit is contained in:
Abdullah Atta
2023-10-24 12:47:15 +05:00
parent 75142ff1b2
commit f977443b14

View File

@@ -263,7 +263,7 @@ const useTiptap = (
OutlineListItem,
OutlineList.configure({ keepAttributes: true, keepMarks: true }),
ListItem,
Code.extend({ excludes: "" }),
Code.extend({ excludes: "link" }),
Codemark,
MathInline,
MathBlock,