Merge pull request #1620 from mailpoet/remove-tooltip

Remove font tooltip [MAILPOET-1623]
This commit is contained in:
M. Shull
2018-11-15 07:01:10 -05:00
committed by GitHub
4 changed files with 2 additions and 13 deletions

View File

@@ -192,10 +192,6 @@ select.mailpoet_font-size
margin-left: 5px
font-weight: normal
.tooltip-help-designer-styles
position: absolute
top: 40px
.tooltip-help-designer-full-width .dashicons
line-height 34px
.tooltip-help-designer-full-width span

View File

@@ -378,11 +378,6 @@ define([
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;

View File

@@ -350,7 +350,6 @@
'newsletterPreviewSent': __('Your test email has been sent!'),
'templateNameMissing': __('Please add a template name'),
'helpTooltipSendPreview': helpTooltipSendPreview,
'helpTooltipDesignerStyles': __('We only include fonts that will display in all email clients. We understand it can feel limiting!'),
'helpTooltipDesignerSubjectLine': __("You can add MailPoet shortcodes here. For example, you can add your subscribers' first names by using this shortcode: [subscriber:firstname | default:reader]. Simply copy and paste the shortcode into the field."),
'helpTooltipDesignerPreheader': __("This optional text will appear in your subscribers' inboxes, beside the subject line. Write something enticing!"),
'helpTooltipDesignerFullWidth': __("This option eliminates padding around the image. It only works if the image is larger than the column size."),

View File

@@ -1,7 +1,6 @@
<div class="handlediv" title="<%= __('Click to toggle') %>"><br></div>
<h3><%= __('Styles') %></h3>
<div class="mailpoet_region_content">
<span id="tooltip-designer-styles" class="tooltip-help-designer-styles"></span>
<form id="mailpoet_newsletter_styles" action="" method="post" accept-charset="utf-8">
<div class="mailpoet_form_field">
<span>