Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add email preview text #130

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dariomrk
Copy link

  • Add preview text control to global styles sidebar
  • Add preview text to EmailLayout

<Fragment>
{props.previewText && (
<div
style={{ display: 'none', maxHeight: '0px', overflow: 'hidden', 'mso-hide': 'all' } as React.CSSProperties}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[disclaimer: not a maintainer]

I don't think you don't need to add this mso-hide to the Editor as it won't be "visible", it's for Outlook only and it's throwing this:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants