mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 14:13:21 +08:00
fix: fix missing extensions when using addExtension
, fix #1309
This commit is contained in:
parent
5d329cb80c
commit
28737b1631
@ -147,7 +147,10 @@ export default class ExtensionManager {
|
||||
)
|
||||
|
||||
if (addExtensions) {
|
||||
return this.flatten(addExtensions())
|
||||
return [
|
||||
extension,
|
||||
...this.flatten(addExtensions()),
|
||||
]
|
||||
}
|
||||
|
||||
return extension
|
||||
|
Loading…
Reference in New Issue
Block a user