summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/editor/rte.summernote.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_editor/static/src/js/editor/rte.summernote.js')
-rw-r--r--addons/web_editor/static/src/js/editor/rte.summernote.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/addons/web_editor/static/src/js/editor/rte.summernote.js b/addons/web_editor/static/src/js/editor/rte.summernote.js
index befea94f328..1d8bcce4808 100644
--- a/addons/web_editor/static/src/js/editor/rte.summernote.js
+++ b/addons/web_editor/static/src/js/editor/rte.summernote.js
@@ -88,7 +88,7 @@ renderer.tplPopovers = function (lang, options) {
//////////////// image popover
// add center button for images
- $(tplIconButton('fas fa-align-center', {
+ $(tplIconButton('fa fa-align-center', {
title: _t('Center'),
event: 'floatMe',
value: 'center'
@@ -106,14 +106,14 @@ renderer.tplPopovers = function (lang, options) {
'<li><a class="dropdown-item" data-event="padding" href="#" data-value="large">'+_t('Large')+'</a></li>',
'<li><a class="dropdown-item" data-event="padding" href="#" data-value="xl">'+_t('Xl')+'</a></li>',
];
- $(tplIconButton('far fa-plus-square', {
+ $(tplIconButton('fa fa-plus-square-o', {
title: _t('Padding'),
dropdown: tplDropdown(dropdown_content)
})).appendTo($padding);
// circle, boxed... options became toggled
$imagePopover.find('[data-event="imageShape"]:not([data-value])').remove();
- var $button = $(tplIconButton('far fa-sun', {
+ var $button = $(tplIconButton('fa fa-sun-o', {
title: _t('Shadow'),
event: 'imageShape',
value: 'shadow'
@@ -121,7 +121,7 @@ renderer.tplPopovers = function (lang, options) {
// add spin for fa
var $spin = $('<div class="btn-group d-none only_fa"/>').insertAfter($button.parent());
- $(tplIconButton('fas fa-sync', {
+ $(tplIconButton('fa fa-refresh', {
title: _t('Spin'),
event: 'imageShape',
value: 'fa-spin'
@@ -144,16 +144,16 @@ renderer.tplPopovers = function (lang, options) {
// show dialog box and delete
var $imageprop = $('<div class="btn-group"/>');
$imageprop.appendTo($imagePopover.find('.popover-body'));
- $(tplIconButton('far fa-file-image', {
+ $(tplIconButton('fa fa-file-image-o', {
title: _t('Edit'),
event: 'showImageDialog'
})).appendTo($imageprop);
- $(tplIconButton('far fa-trash-alt', {
+ $(tplIconButton('fa fa-trash-o', {
title: _t('Remove'),
event: 'delete'
})).appendTo($imageprop);
- $(tplIconButton('fas fa-crop', {
+ $(tplIconButton('fa fa-crop', {
title: _t('Crop Image'),
event: 'cropImage',
})).insertAfter($imagePopover.find('[data-event="imageShape"][data-value="img-thumbnail"]'));
@@ -170,7 +170,7 @@ renderer.tplPopovers = function (lang, options) {
$linkPopover.find('.popover-body').append($airPopover.find(".note-history").clone());
- $linkPopover.find('button[data-event="showLinkDialog"] i').attr("class", "fas fa-link");
+ $linkPopover.find('button[data-event="showLinkDialog"] i').attr("class", "fa fa-link");
$linkPopover.find('button[data-event="unlink"]').before($airPopover.find('button[data-event="showImageDialog"]').clone());
//////////////// text/air popover