mirror of
https://github.com/linsa-io/linsa.git
synced 2026-07-03 12:11:31 +02:00
feat: feedback (#156)
* minimal tiptap * wip * img edit block * wip * fix
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { Image as TiptapImage } from '@tiptap/extension-image'
|
||||
import { ReactNodeViewRenderer } from '@tiptap/react'
|
||||
import { ImageViewBlock } from './components/image-view-block'
|
||||
|
||||
export const Image = TiptapImage.extend({
|
||||
addNodeView() {
|
||||
return ReactNodeViewRenderer(ImageViewBlock)
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user