Linkify URLs
This commit is contained in:
parent
0daab63b4a
commit
a00510c1ca
5 changed files with 14 additions and 3 deletions
|
@ -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());
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue