mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-23 08:47:50 +08:00
15 lines
229 B
TypeScript
15 lines
229 B
TypeScript
import { createNode } from '@tiptap/core'
|
|
|
|
const Text = createNode({
|
|
name: 'text',
|
|
group: 'inline',
|
|
})
|
|
|
|
export default Text
|
|
|
|
declare module '@tiptap/core/src/Editor' {
|
|
interface AllExtensions {
|
|
Text: typeof Text,
|
|
}
|
|
}
|