Skip to content

Commit

Permalink
updated icon for post and added shortcut to modal
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Draganescu committed Mar 1, 2022
1 parent fa2c06a commit 9669af2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/autocompleters/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
import apiFetch from '@wordpress/api-fetch';
import { addQueryArgs } from '@wordpress/url';
import { Icon, page, customPostType as post } from '@wordpress/icons';
import { Icon, page, post } from '@wordpress/icons';

const SHOWN_SUGGESTIONS = 10;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,8 @@ export const textFormattingShortcuts = [
keyCombination: { modifier: 'primary', character: 'u' },
description: __( 'Underline the selected text.' ),
},
{
keyCombination: { character: '[[' },
description: __( 'Insert a link to a post or page' ),
},
];

0 comments on commit 9669af2

Please sign in to comment.