diff options
| author | Benjamin Vray <bvr@odoo.com> | 2020-10-28 12:48:09 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-10-30 18:36:09 +0000 |
| commit | f4a23c1476f4923a83ff113f571042a9eda6c92b (patch) | |
| tree | c25552d6e3d52b81f52e789c58dceb1bd0454685 /addons/website_forum/static/src/js | |
| parent | 355f4abf74a2ddb14afd3034bc4d00d83dcaf4a8 (diff) | |
[FIX] website_forum: fix link and media option in wysiwyg editor
Before this commit, link and media buttons of the wysiwyg editor
toolbar in the forum were never displayed. It's because we were not
using the right option names in the toolbar object.
Thanks to @kirtangajjar for initial bug fix.
Closes https://github.com/odoo/odoo/pull/53589
task-2369420
closes odoo/odoo#61095
X-original-commit: 88a693fa5b8852596e623e08f5eb846b9988b5d7
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/website_forum/static/src/js')
| -rw-r--r-- | addons/website_forum/static/src/js/website_forum.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_forum/static/src/js/website_forum.js b/addons/website_forum/static/src/js/website_forum.js index 2158b720461..7c084751d52 100644 --- a/addons/website_forum/static/src/js/website_forum.js +++ b/addons/website_forum/static/src/js/website_forum.js @@ -126,7 +126,7 @@ publicWidget.registry.websiteForum = publicWidget.Widget.extend({ ['table', ['table']], ]; if (hasFullEdit) { - toolbar.push(['insert', ['linkPlugin', 'mediaPlugin']]); + toolbar.push(['insert', ['link', 'picture']]); } toolbar.push(['history', ['undo', 'redo']]); |
