[FIX] web_editor: Expose focus method for activate method of html field

closes odoo/odoo#31577

Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
This commit is contained in:
Gorash
2019-03-04 08:41:09 +00:00
parent 972a1c9920
commit a8e95217c9
@@ -8,7 +8,7 @@ var assetsLoaded = false;
var WysiwygRoot = Widget.extend({
assetLibs: ['web_editor.compiled_assets_wysiwyg'],
publicMethods: ['isDirty', 'save', 'getValue', 'setValue', 'getEditable', 'on', 'trigger'],
publicMethods: ['isDirty', 'save', 'getValue', 'setValue', 'getEditable', 'on', 'trigger', 'focus'],
/**
* @see 'web_editor.wysiwyg' module