refactor: recreate extension exports
This commit is contained in:
@@ -9,7 +9,7 @@ export interface BlockquoteOptions {
|
||||
|
||||
export const inputRegex = /^\s*>\s$/gm
|
||||
|
||||
const Blockquote = Node.create({
|
||||
export const Blockquote = Node.create({
|
||||
name: 'blockquote',
|
||||
|
||||
defaultOptions: <BlockquoteOptions>{
|
||||
@@ -68,8 +68,6 @@ const Blockquote = Node.create({
|
||||
},
|
||||
})
|
||||
|
||||
export default Blockquote
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
interface AllExtensions {
|
||||
Blockquote: typeof Blockquote,
|
||||
|
||||
5
packages/extension-blockquote/src/index.ts
Normal file
5
packages/extension-blockquote/src/index.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Blockquote } from './blockquote'
|
||||
|
||||
export * from './blockquote'
|
||||
|
||||
export default Blockquote
|
||||
Reference in New Issue
Block a user