Fix links in spoilers
This commit is contained in:
parent
59b128dbe7
commit
67de983aac
|
@ -39,7 +39,7 @@ export const TiptapSpoiler = Mark.create<SpoilerOptions>({
|
|||
exitable: true,
|
||||
content: 'inline*',
|
||||
|
||||
priority: 200, // higher priority than other formatting so they go inside
|
||||
priority: 1001, // higher priority than other formatting so they go inside
|
||||
|
||||
addOptions() {
|
||||
return {
|
||||
|
|
|
@ -343,7 +343,7 @@ export function RichContent(props: {
|
|||
TiptapSpoiler.configure({
|
||||
spoilerOpenClass: 'rounded-sm bg-greyscale-2 cursor-text',
|
||||
spoilerCloseClass:
|
||||
'rounded-sm bg-greyscale-6 text-greyscale-6 cursor-pointer select-none',
|
||||
'rounded-sm bg-greyscale-6 text-transparent [&_*]:invisible cursor-pointer select-none',
|
||||
}),
|
||||
],
|
||||
content,
|
||||
|
|
Loading…
Reference in New Issue
Block a user