custom classes added
This commit is contained in:
parent
5ef8de018e
commit
a99164b504
|
@ -17,7 +17,9 @@ export const CustomBlockquote = Blockquote.extend({
|
|||
content: 'block+',
|
||||
|
||||
addOptions(): BlockquoteOptions {
|
||||
return {} as BlockquoteOptions
|
||||
return {
|
||||
HTMLAttributes: { class: 'blockquote' }
|
||||
} as BlockquoteOptions
|
||||
},
|
||||
|
||||
addAttributes() {
|
||||
|
|
|
@ -12,7 +12,7 @@ export const Figcaption = Node.create({
|
|||
|
||||
addOptions() {
|
||||
return {
|
||||
HTMLAttributes: {}
|
||||
HTMLAttributes: { class: 'figcaption' }
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ export const Figure = Node.create({
|
|||
name: 'figure',
|
||||
addOptions() {
|
||||
return {
|
||||
HTMLAttributes: {}
|
||||
HTMLAttributes: { class: 'figure' }
|
||||
}
|
||||
},
|
||||
group: 'block',
|
||||
|
|
|
@ -14,7 +14,7 @@ export const Footnote = Node.create({
|
|||
name: 'footnote',
|
||||
addOptions() {
|
||||
return {
|
||||
HTMLAttributes: {}
|
||||
HTMLAttributes: { class: 'footnote' }
|
||||
}
|
||||
},
|
||||
group: 'inline',
|
||||
|
|
Loading…
Reference in New Issue
Block a user