Skip to content

Commit c10286c

Browse files
authored
Merge pull request #1 from editor-js/master
merge master
2 parents 0b3bd5f + 72c651d commit c10286c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@editorjs/image",
3-
"version": "2.7.0",
3+
"version": "2.7.1",
44
"keywords": [
55
"codex editor",
66
"tool",

src/index.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,11 @@ export default class ImageTool {
272272
/**
273273
* Paste HTML into Editor
274274
*/
275-
tags: [ 'img' ],
276-
275+
tags: [
276+
{
277+
img: { src: true },
278+
},
279+
],
277280
/**
278281
* Paste URL of image into the Editor
279282
*/

0 commit comments

Comments
 (0)