Skip to content

Commit

Permalink
Limit change to RichText only
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Jan 24, 2024
1 parent 97fa42c commit 7aeda31
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/format-library/src/link/inline.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,14 @@ function InlineLinkUI( {
createSuggestionButtonText={ createButtonText }
hasTextControl
settings={ LINK_SETTINGS }
suggestionsQuery={ {
// always show Pages as initial suggestions
initialSuggestionsSearchOptions: {
type: 'post',
subtype: 'page',
perPage: 20,
},
} }
/>
</Popover>
);
Expand Down

0 comments on commit 7aeda31

Please sign in to comment.