Skip to content
Snippets Groups Projects
Commit 88aaf82c authored by David Baker's avatar David Baker
Browse files

Backport: linkify emotes

parent f3b30477
Branches
Tags
No related merge requests found
......@@ -16,6 +16,15 @@ limitations under the License.
'use strict';
var linkify = require('linkifyjs');
var linkifyElement = require('linkifyjs/element');
var linkifyMatrix = require('../../linkify-matrix');
linkifyMatrix(linkify);
module.exports = {
componentDidMount: function() {
linkifyElement(this.refs.content.getDOMNode(), linkifyMatrix.options);
}
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment