You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Linkify URLs
This commit is contained in:
@@ -16,5 +16,10 @@ limitations under the License.
|
||||
|
||||
'use strict';
|
||||
|
||||
var linkifyElement = require('linkifyjs/element');
|
||||
|
||||
module.exports = {
|
||||
componentDidMount: function() {
|
||||
linkifyElement(this.refs.content.getDOMNode());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -16,6 +16,11 @@ limitations under the License.
|
||||
|
||||
'use strict';
|
||||
|
||||
var linkifyElement = require('linkifyjs/element');
|
||||
|
||||
module.exports = {
|
||||
componentDidMount: function() {
|
||||
linkifyElement(this.refs.content.getDOMNode());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user