mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-23 00:27:49 +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,
|
|
}
|
|
}
|