refactor: recreate extension exports
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
import { Node } from '@tiptap/core'
|
||||
|
||||
const Text = Node.create({
|
||||
export const Text = Node.create({
|
||||
name: 'text',
|
||||
group: 'inline',
|
||||
})
|
||||
|
||||
export default Text
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
interface AllExtensions {
|
||||
Text: typeof Text,
|
||||
|
||||
Reference in New Issue
Block a user