Skip to content

Commit

Permalink
Fix import after renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Apr 3, 2019
1 parent 7f7578d commit 7ca2c60
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/rich-text/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { isURL } from '@wordpress/url';
import {
isEmpty,
create,
apply,
__unstableApply as apply,
applyFormat,
split,
toHTMLString,
Expand Down
8 changes: 4 additions & 4 deletions packages/block-library/src/list/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
getBlockAttributes,
} from '@wordpress/blocks';
import { RichText } from '@wordpress/block-editor';
import { replace, join, split, create, toHTMLString, LINE_SEPARATOR } from '@wordpress/rich-text';
import { replace, join, split, create, toHTMLString, __UNSTABLE_LINE_SEPARATOR } from '@wordpress/rich-text';

/**
* Internal dependencies
Expand Down Expand Up @@ -87,8 +87,8 @@ export const settings = {

// When converting only one block, transform
// every line to a list item.
return replace( value, /\n/g, LINE_SEPARATOR );
} ), LINE_SEPARATOR ),
return replace( value, /\n/g, __UNSTABLE_LINE_SEPARATOR );
} ), __UNSTABLE_LINE_SEPARATOR ),
multilineTag: 'li',
} ),
} );
Expand Down Expand Up @@ -152,7 +152,7 @@ export const settings = {
html: values,
multilineTag: 'li',
multilineWrapperTags: [ 'ul', 'ol' ],
} ), LINE_SEPARATOR )
} ), __UNSTABLE_LINE_SEPARATOR )
.map( ( piece ) =>
createBlock( 'core/paragraph', {
content: toHTMLString( { value: piece } ),
Expand Down
4 changes: 2 additions & 2 deletions packages/docgen/coverage.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

These either happen in private API, aren't relevant, or are pending of decission.

- [ ] go undocummented: `unstable__*`, rich-text `unstableToDom`, `experimental__`
- [ ] `constants` keycodes, rich-text `LINE_SEPARATOR`
- [ ] go undocummented: `unstable__*`
- [ ] `constants` keycodes
- [ ] `{?{ time: number, count: number }}`packages/editor/src/store/selectors.js
- [ ] `{type=}` packages/block-library/src/image/edit.js
- [ ] `@api` packages/editor/src/editor-styles/ast/stringify/compiler.js
Expand Down

0 comments on commit 7ca2c60

Please sign in to comment.