[FIX] website: WysiwygAdapter: fix props definition
The `beforeEditorActive` props is a function, not a boolean. So before this commit, there was a crash in debug mode when the WysiwygAdapter was instantiated. Part-of: odoo/odoo#139154
This commit is contained in:
@@ -59,7 +59,7 @@ export class WysiwygAdapterComponent extends Wysiwyg {
|
||||
wysiwygReady: { type: Function },
|
||||
editableElements: { type: true, optional: true },
|
||||
savableSelector: { type: String, optional: true },
|
||||
beforeEditorActive: { type: Boolean, optional: true },
|
||||
beforeEditorActive: { type: Function, optional: true },
|
||||
removeWelcomeMessage: { type: Function },
|
||||
}
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user