Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed Aug 7, 2017
1 parent c9a2e9f commit 66c9a57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions formats/image.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Embed from '../blots/embed';
import Parchment from 'parchment';
import { sanitize } from '../formats/link';

const ATTRIBUTES = [
Expand All @@ -8,7 +8,7 @@ const ATTRIBUTES = [
];


class Image extends Embed {
class Image extends Parchment.Embed {
static create(value) {
let node = super.create(value);
if (typeof value === 'string') {
Expand Down

0 comments on commit 66c9a57

Please sign in to comment.