Rollback packages

This commit is contained in:
MartinBraquet
2025-09-07 21:33:44 +02:00
parent 35b83dcb9a
commit 2dab88c7a9
2 changed files with 2057 additions and 1998 deletions

View File

@@ -47,14 +47,13 @@ export function parseMentions(data: JSONContent): string[] {
}
export const extensions = [
StarterKit.configure({}), // ✅ instantiate
Link.configure({ openOnClick: true }),
StarterKit,
Link,
Image.extend({ renderText: () => '[image]' }),
Mention.configure({}),
Mention, // user @mention
Iframe.extend({
renderText: ({ node }) => {
return `[embed]${node.attrs.src ? `(${node.attrs.src})` : ''}`
},
renderText: ({ node }) =>
'[embed]' + node.attrs.src ? `(${node.attrs.src})` : '',
}),
]

4044
yarn.lock
View File

File diff suppressed because it is too large Load Diff