Merge pull request #751 from hmhealey/plt344

PLT-344 Restore emoticon handling to text_formatting.jsx and fix it's interaction with other formatting
Этот коммит содержится в:
Christopher Speller
2015-09-23 08:27:12 -04:00
родитель 0391e5fe96 55f11ba871
Коммит bdd0cfd227
8 изменённых файлов: 203 добавлений и 62 удалений

Просмотреть файл

@@ -35,7 +35,6 @@ export default class PostBody extends React.Component {
parseEmojis() {
twemoji.parse(React.findDOMNode(this), {size: Constants.EMOJI_SIZE});
global.window.emojify.run(React.findDOMNode(this.refs.message_span));
}
componentDidMount() {

Просмотреть файл

@@ -56,7 +56,6 @@ export default class RhsComment extends React.Component {
}
parseEmojis() {
twemoji.parse(React.findDOMNode(this), {size: Constants.EMOJI_SIZE});
global.window.emojify.run(React.findDOMNode(this.refs.message_holder));
}
componentDidMount() {
this.parseEmojis();

Просмотреть файл

@@ -20,7 +20,6 @@ export default class RhsRootPost extends React.Component {
}
parseEmojis() {
twemoji.parse(React.findDOMNode(this), {size: Constants.EMOJI_SIZE});
global.window.emojify.run(React.findDOMNode(this.refs.message_holder));
}
componentDidMount() {
this.parseEmojis();