Add tooltip to editor styles

[MAILPOET-976]
This commit is contained in:
Pavel Dohnal
2017-08-02 16:34:30 +02:00
parent c090a8260b
commit 1c3e968ec4
4 changed files with 13 additions and 2 deletions

View File

@@ -370,10 +370,15 @@ define([
App._appView.showChildView('sidebarRegion', sidebarView);
MailPoet.helpTooltip.show(document.getElementById("tooltip-send-preview"), {
tooltipId: "tooltip-editor-send-preview",
MailPoet.helpTooltip.show(document.getElementById('tooltip-send-preview'), {
tooltipId: 'tooltip-editor-send-preview',
tooltip: MailPoet.I18n.t('helpTooltipSendPreview'),
});
MailPoet.helpTooltip.show(document.getElementById('tooltip-designer-styles'), {
tooltipId: 'tooltip-editor-designer-styles',
tooltip: MailPoet.I18n.t('helpTooltipDesignerStyles'),
});
});
return Module;