Skip to content

Commit

Permalink
Paste: Fix to use getSourcedAttributes export
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Aug 4, 2017
1 parent b64317c commit 0ae7a07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blocks/api/paste.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { nodetypes } from '@wordpress/utils';
*/
import { createBlock } from './factory';
import { getBlockTypes, getUnknownTypeHandler } from './registration';
import { getMatcherAttributes } from './parser';
import { getSourcedAttributes } from './parser';
import stripAttributes from './paste/strip-attributes';
import removeSpans from './paste/remove-spans';

Expand Down Expand Up @@ -94,7 +94,7 @@ export default function( nodes ) {
return acc;
}

const attributes = getMatcherAttributes(
const attributes = getSourcedAttributes(
node.outerHTML,
transform.attributes,
);
Expand Down

0 comments on commit 0ae7a07

Please sign in to comment.