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