This commit is contained in:
Philipp Kühn 2021-02-10 20:40:00 +01:00
parent 130cc1a6f3
commit 87beee25b0
2 changed files with 4 additions and 4 deletions

View File

@ -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: {},
}, },

View File

@ -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: {},
}, },