diff --git a/packages/neos-ui-editors/src/Library/LinkInput.js b/packages/neos-ui-editors/src/Library/LinkInput.js index af590598d6..abad8084cc 100644 --- a/packages/neos-ui-editors/src/Library/LinkInput.js +++ b/packages/neos-ui-editors/src/Library/LinkInput.js @@ -149,6 +149,10 @@ export default class LinkInput extends PureComponent { } handleSearchTermChange = searchTerm => { + // trim leading and trailing whitespace as it can cause issues + // with the further processing + searchTerm.trim() + this.setState({searchTerm}); if (isUriOrInternalLink(searchTerm)) {