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',
content: 'inline*',
// group: 'block',
defaultOptions: <DetailsSummaryOptions>{
defaultOptions: {
HTMLAttributes: {},
},

View File

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