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',
|
name: 'detailsSummary',
|
||||||
|
|
||||||
content: 'inline*',
|
content: 'inline*',
|
||||||
|
|
||||||
// group: 'block',
|
// group: 'block',
|
||||||
|
|
||||||
defaultOptions: <DetailsSummaryOptions>{
|
defaultOptions: {
|
||||||
HTMLAttributes: {},
|
HTMLAttributes: {},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -6,14 +6,14 @@ export interface DetailsOptions {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Node.create({
|
export default Node.create<DetailsOptions>({
|
||||||
name: 'details',
|
name: 'details',
|
||||||
|
|
||||||
content: 'detailsSummary block+',
|
content: 'detailsSummary block+',
|
||||||
|
|
||||||
group: 'block',
|
group: 'block',
|
||||||
|
|
||||||
defaultOptions: <DetailsOptions>{
|
defaultOptions: {
|
||||||
HTMLAttributes: {},
|
HTMLAttributes: {},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user