Update react-tooltip library

[MAILPOET-2696]
This commit is contained in:
Rostislav Wolny
2020-02-11 15:53:49 +01:00
committed by Jack Kitterhing
parent d00c690252
commit 931447e050
4 changed files with 7 additions and 4 deletions

View File

@ -94,10 +94,12 @@ Module.ImageBlockSettingsView = base.BlockSettingsView.extend({
MailPoet.helpTooltip.show(document.getElementById('tooltip-designer-full-width'), {
tooltipId: 'tooltip-editor-full-width',
tooltip: MailPoet.I18n.t('helpTooltipDesignerFullWidth'),
place: 'top',
});
MailPoet.helpTooltip.show(document.getElementById('tooltip-designer-ideal-width'), {
tooltipId: 'tooltip-editor-ideal-width',
tooltip: MailPoet.I18n.t('helpTooltipDesignerIdealWidth'),
place: 'bottom',
});
},
getTemplate: function () { return window.templates.imageBlockSettings; },

View File

@ -448,6 +448,7 @@ App.on('start', function (StartApp) {
MailPoet.helpTooltip.show(document.getElementById('tooltip-send-preview'), {
tooltipId: 'tooltip-editor-send-preview',
tooltip: MailPoet.I18n.t('helpTooltipSendPreview'),
place: 'left',
});
});