draft-js-import-html
Advanced tools
Comparing version
@@ -18,4 +18,6 @@ 'use strict'; | ||
var defaultOptions = {}; | ||
function stateFromHTML(html, options) { | ||
var _ref = options || {}, | ||
var _ref = options || defaultOptions, | ||
parser = _ref.parser, | ||
@@ -22,0 +24,0 @@ otherOptions = _objectWithoutProperties(_ref, ['parser']); |
{ | ||
"name": "draft-js-import-html", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "DraftJS: Import HTML to ContentState", | ||
@@ -8,2 +8,3 @@ "main": "lib/main.js", | ||
"scripts": { | ||
"release": "npm run build && npm publish", | ||
"build": "babel src --out-dir lib --ignore \"_*\"", | ||
@@ -13,3 +14,3 @@ "watch": "babel src --watch --out-dir lib --ignore \"_*\"" | ||
"dependencies": { | ||
"draft-js-import-element": "^1.3.2" | ||
"draft-js-import-element": "^1.3.3" | ||
}, | ||
@@ -16,0 +17,0 @@ "peerDependencies": { |
4928
1.76%89
1.14%