mirror of https://github.com/fantasticit/think.git
tiptap: fix title class
This commit is contained in:
parent
8b2e6d1adb
commit
6cde76130e
|
@ -30,7 +30,7 @@ export const Title = Node.create<TitleOptions>({
|
||||||
addOptions() {
|
addOptions() {
|
||||||
return {
|
return {
|
||||||
HTMLAttributes: {
|
HTMLAttributes: {
|
||||||
class: 'title',
|
class: 'node-title',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
@ -47,7 +47,7 @@ export const Title = Node.create<TitleOptions>({
|
||||||
parseHTML() {
|
parseHTML() {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
tag: 'div[class=title]',
|
tag: 'div[class=node-title]',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue