braft-utils
Advanced tools
Comparing version 3.0.4 to 3.0.5
@@ -377,5 +377,7 @@ 'use strict'; | ||
type = media.type, | ||
width = media.width, | ||
height = media.height, | ||
meta = media.meta; | ||
var contentStateWithEntity = editorState.getCurrentContent().createEntity(type, 'IMMUTABLE', { url: url, name: name, type: type, meta: meta }); | ||
var contentStateWithEntity = editorState.getCurrentContent().createEntity(type, 'IMMUTABLE', { url: url, name: name, type: type, width: width, height: height, meta: meta }); | ||
var entityKey = contentStateWithEntity.getLastCreatedEntityKey(); | ||
@@ -382,0 +384,0 @@ return _draftJs.AtomicBlockUtils.insertAtomicBlock(editorState, entityKey, ' '); |
{ | ||
"name": "braft-utils", | ||
"version": "3.0.4", | ||
"version": "3.0.5", | ||
"description": "Utils for Braft Editor", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
72755
536