Skip to content

Commit

Permalink
Update index.native.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo authored Oct 1, 2019
1 parent fab417f commit b23d6f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/format-library/src/link/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const link = {
onRemoveFormat() {
const { onChange, speak, value } = this.props;
const startFormat = getActiveFormat( value, 'core/link' );

// Before we try to remove anything we check if there is something at the caret position to remove.
if ( isCollapsed( value ) && startFormat === undefined ) {
return;
Expand Down

0 comments on commit b23d6f9

Please sign in to comment.