refactor: recreate extension exports
This commit is contained in:
@@ -11,7 +11,7 @@ export interface TextStyleOptions {
|
||||
},
|
||||
}
|
||||
|
||||
const TextStyle = Mark.create({
|
||||
export const TextStyle = Mark.create({
|
||||
name: 'textStyle',
|
||||
|
||||
defaultOptions: <TextStyleOptions>{
|
||||
@@ -59,8 +59,6 @@ const TextStyle = Mark.create({
|
||||
|
||||
})
|
||||
|
||||
export default TextStyle
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
interface AllExtensions {
|
||||
TextStyle: typeof TextStyle,
|
||||
|
||||
Reference in New Issue
Block a user