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