mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-14 10:05:25 -04:00
Rollback packages
This commit is contained in:
@@ -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})` : '',
|
||||
}),
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user