mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-27 06:01:54 +03:00
Editors: Updated entity link select to pre-fill with selection
Updated all uses across both editors, so the entity link selector popup now initates a search with the selection text if existing. For #4571
This commit is contained in:
@ -87,6 +87,11 @@ export class EntitySelector extends Component {
|
||||
this.searchInput.focus();
|
||||
}
|
||||
|
||||
searchText(queryText) {
|
||||
this.searchInput.value = queryText;
|
||||
this.searchEntities(queryText);
|
||||
}
|
||||
|
||||
showLoading() {
|
||||
this.loading.style.display = 'block';
|
||||
this.resultsContainer.style.display = 'none';
|
||||
|
Reference in New Issue
Block a user