mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-18 13:17:49 +08:00
fix
This commit is contained in:
parent
130cc1a6f3
commit
87beee25b0
@ -6,14 +6,14 @@ export interface DetailsSummaryOptions {
|
||||
},
|
||||
}
|
||||
|
||||
export default Node.create({
|
||||
export default Node.create<DetailsSummaryOptions>({
|
||||
name: 'detailsSummary',
|
||||
|
||||
content: 'inline*',
|
||||
|
||||
// group: 'block',
|
||||
|
||||
defaultOptions: <DetailsSummaryOptions>{
|
||||
defaultOptions: {
|
||||
HTMLAttributes: {},
|
||||
},
|
||||
|
||||
|
@ -6,14 +6,14 @@ export interface DetailsOptions {
|
||||
},
|
||||
}
|
||||
|
||||
export default Node.create({
|
||||
export default Node.create<DetailsOptions>({
|
||||
name: 'details',
|
||||
|
||||
content: 'detailsSummary block+',
|
||||
|
||||
group: 'block',
|
||||
|
||||
defaultOptions: <DetailsOptions>{
|
||||
defaultOptions: {
|
||||
HTMLAttributes: {},
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user