Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocks: Support reusable nested blocks (reusable blocks refactor) #5228

Merged
merged 17 commits into from
Mar 16, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Move createInnerBlockList into editor/utils
  • Loading branch information
noisysocks committed Mar 14, 2018
commit 3f0180c67e0354e17f280802a5220af8bcb6b463
2 changes: 1 addition & 1 deletion editor/components/block-list/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import BlockInsertionPoint from './insertion-point';
import IgnoreNestedEvents from './ignore-nested-events';
import InserterWithShortcuts from '../inserter-with-shortcuts';
import Inserter from '../inserter';
import { createInnerBlockList } from './utils';
import { createInnerBlockList } from '../../utils/block-list';
import {
editPost,
insertBlocks,
Expand Down
2 changes: 1 addition & 1 deletion editor/components/block-preview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { createBlock, BlockEdit } from '@wordpress/blocks';
/**
* Internal dependencies
*/
import { createInnerBlockList } from '../block-list/utils';
import { createInnerBlockList } from '../../utils/block-list';
import './style.scss';

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Component } from '@wordpress/element';
/**
* Internal dependencies
*/
import BlockList from './';
import BlockList from '../components/block-list';

/**
* An object of cached BlockList components
Expand Down