-
Notifications
You must be signed in to change notification settings - Fork 839
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
[EuiMarkdownFormat] Removed emoticon
support and extra rendered <div>
#5176
Conversation
This doesn’t affect regular `:__:` syntax, just those that try to turn certain character combos like `x)` into one, which can occur frequently in code related contexts.
emoticon
support removed extra rendered <div>
emoticon
support and extra rendered <div>
This reverts commit f4f80d3.
Co-authored-by: Constance <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me from a code perspective! Not sure if you want to wait @chandlerprall or @miukimiu to approve though from a product design POV 🦅
Preview documentation changes for this PR: https://eui.elastic.co/pr_5176/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Preview documentation changes for this PR: https://eui.elastic.co/pr_5176/ |
Remove
emoticon
support specificallyThis doesn’t affect regular
:__:
syntax, just those that try to turn certain character combos likex)
into one, which can occur frequently in code related contexts.Before
After
Fixed extra bottom margins by removing extra rendered
<div>
This was causing all of the last items like
<p>
to keep their bottom margins which would throw off layouts in consuming applications. We were already only adding bottom margin to text elements if:not(:last-child)
in.euiText
. But since that wrapping div threw off the nested selector, it never applied.Before
After
Checklist
[ ] Props have proper autodocs and playground toggles[ ] Checked Code Sandbox works for any docs examples[ ] Added or updated jest tests[ ] Checked for breaking changes and labeled appropriately[ ] Checked for accessibility including keyboard-only and screenreader modes