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() {
|
||||
return {
|
||||
HTMLAttributes: {
|
||||
class: 'title',
|
||||
class: 'node-title',
|
||||
},
|
||||
};
|
||||
},
|
||||
|
@ -47,7 +47,7 @@ export const Title = Node.create<TitleOptions>({
|
|||
parseHTML() {
|
||||
return [
|
||||
{
|
||||
tag: 'div[class=title]',
|
||||
tag: 'div[class=node-title]',
|
||||
},
|
||||
];
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue