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

Support for basic HTML tags #192

Open
krisgardiner opened this issue Feb 16, 2022 · 5 comments
Open

Support for basic HTML tags #192

krisgardiner opened this issue Feb 16, 2022 · 5 comments
Labels
feature-request "Wouldn't it be cool if I could...?" ui-extensions

Comments

@krisgardiner
Copy link

Is your feature request related to a problem? Please describe.
We're planning to render emails to the user and a major issue is that emails may contain lots of markup that is difficult to parse through. Also, customers may be sending businesses images in the emails for customer support issues, etc. In order to provide the most value to the stripe user, we want to be able to include as much valuable information from their emails as possible.

Describe the solution you'd like
We want to be able to use basic HTML tags so that we can closely reflect the rich emails that a user receives. Support for basic tags such as p, a, img, ul, ol, li, h1, h2, h3, h4 will make the emails more useful to the user.

Describe alternatives you've considered
An alternative is to link out to our own app where we can display the full richness of their email.

@krisgardiner krisgardiner added feature-request "Wouldn't it be cool if I could...?" needs-triage labels Feb 16, 2022
@jt-stripe
Copy link

jt-stripe commented Feb 16, 2022

Another possibility would be to add a WebView component specifically for rendering arbitrary HTML, similar to how iOS/Android/React Native deal with this.

@demaree-stripe
Copy link

@koop-stripe Can you look at this and weigh in?

@krisgardiner
Copy link
Author

At the very least I need white-space css property exposed on either Box or Inline. This is a reasonable ask.
@jt-stripe @demaree-stripe @koop-stripe

image

@ericfrank-stripe
Copy link
Collaborator

@krisgardiner The whiteSpace property is now available on Box: https://stripe.com/docs/stripe-apps/design/style#text-overflow,-wrapping,-and-transformation

We're looking toward a WebView component for this purpose and it is currently slated for post-launch.

@mayankkhanna
Copy link

Adding some screenshots for the folks to review why this is crucial for us to deliver a great experience through our app. Please reach out in case of any questions.

Screen Shot 2022-06-13 at 12 22 19 PM

Screen Shot 2022-06-13 at 12 24 07 PM

Screen Shot 2022-06-13 at 12 25 18 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request "Wouldn't it be cool if I could...?" ui-extensions
Projects
None yet
Development

No branches or pull requests

7 participants