mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-26 04:23:58 +03:00
EQMS-941 Fix order of list and table extensions (#5918)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
parent
f034cb5850
commit
dfaddb86f7
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user