draft-cljs
Advanced tools
Comparing version 1.0.8 to 1.1.0
@@ -19,2 +19,6 @@ 'use strict'; | ||
var _draftJsLinkifyPlugin = require('draft-js-linkify-plugin'); | ||
var _draftJsLinkifyPlugin2 = _interopRequireDefault(_draftJsLinkifyPlugin); | ||
var _draftJs = require('draft-js'); | ||
@@ -30,2 +34,5 @@ | ||
var linkifyPlugin = (0, _draftJsLinkifyPlugin2.default)({ target: '_blank' }); | ||
var plugins = [linkifyPlugin]; | ||
var StatelessEditor = function (_React$Component) { | ||
@@ -68,2 +75,3 @@ _inherits(StatelessEditor, _React$Component); | ||
onChange: this.onChange, | ||
plugins: plugins, | ||
ref: 'editor' | ||
@@ -70,0 +78,0 @@ }, this.props)); |
{ | ||
"name": "draft-cljs", | ||
"version": "1.0.8", | ||
"version": "1.1.0", | ||
"description": "Hack to use draft-js editor with ClojureScript simplier and without problems with state management", | ||
@@ -26,3 +26,4 @@ "main": "index.js", | ||
"draft-js": "^0.9.1", | ||
"draft-js-plugins-editor": "^2.0.0-beta9" | ||
"draft-js-plugins-editor": "^2.0.0-beta9", | ||
"draft-js-linkify-plugin": "^2.0.0-beta9" | ||
}, | ||
@@ -29,0 +30,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6223
58
4