EQMS-941 Fix order of list and table extensions (#5918)

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
Alexander Onnikov 2024-06-26 12:57:09 +07:00 committed by GitHub
parent f034cb5850
commit dfaddb86f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,6 +70,8 @@ export const EditorKit = Extension.create<EditorKitOptions>({
addExtensions () {
const mode = this.options.mode ?? 'full'
return [
// table extensions should go before list items
...tableExtensions,
DefaultKit.configure({
...this.options,
code: false,
@ -108,7 +110,6 @@ export const EditorKit = Extension.create<EditorKitOptions>({
]
}),
NodeUuidExtension,
...tableExtensions,
...(this.options.file !== false
? [
FileExtension.configure({