Add tooltip to image full width

[MAILPOET-976]
This commit is contained in:
Pavel Dohnal
2017-08-03 09:05:49 +02:00
parent fad7ff0018
commit d02aed870e
4 changed files with 11 additions and 0 deletions

View File

@@ -61,6 +61,12 @@ define([
});
Module.ImageBlockSettingsView = base.BlockSettingsView.extend({
onRender: function() {
MailPoet.helpTooltip.show(document.getElementById('tooltip-designer-full-width'), {
tooltipId: 'tooltip-editor-full-width',
tooltip: MailPoet.I18n.t('helpTooltipDesignerFullWidth'),
});
},
getTemplate: function() { return templates.imageBlockSettings; },
events: function() {
return {