Skip to content

Commit

Permalink
fix(rich-text-editor): Remove break-all code to keep hyperlinks intac…
Browse files Browse the repository at this point in the history
…t (#2936)
  • Loading branch information
Ayesha Mazumdar authored Dec 5, 2017
1 parent 0658e13 commit 4827702
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 0 additions & 4 deletions ui/components/rich-text-editor/base/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,6 @@
word-wrap: break-word;
hyphens: manual;

a {
word-break: break-all;
}

h1 {
font-size: $font-size-heading-large;
}
Expand Down
5 changes: 3 additions & 2 deletions ui/components/rich-text-editor/base/example.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,9 @@ let TextInputExample = props => (
</p>
<h2>Heading - h2</h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod{' '}
<a href="#">veryVeryLongWordWithHyperlinkExample</a> tempor incididunt ut
labore et dolore magna aliqua.
</p>
<ul>
<li>Unordered list item</li>
Expand Down

0 comments on commit 4827702

Please sign in to comment.