braft-utils
Advanced tools
Comparing version 3.0.8 to 3.0.9
@@ -422,2 +422,4 @@ 'use strict'; | ||
var url = media.url, | ||
link = media.link, | ||
link_target = media.link_target, | ||
name = media.name, | ||
@@ -429,3 +431,3 @@ type = media.type, | ||
return insertAtomicBlock(editorState, type, true, { url: url, name: name, type: type, width: width, height: height, meta: meta }); | ||
return insertAtomicBlock(editorState, type, true, { url: url, link: link, link_target: link_target, name: name, type: type, width: width, height: height, meta: meta }); | ||
}, editorState); | ||
@@ -432,0 +434,0 @@ }; |
{ | ||
"name": "braft-utils", | ||
"version": "3.0.8", | ||
"version": "3.0.9", | ||
"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
74404
572