@worktile/theia 20.2.7 → 20.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15347,7 +15347,7 @@ const withLink = (editor) => {
15347
15347
  const clipboardData = await getClipboardData(data);
15348
15348
  const text = clipboardData?.text;
15349
15349
  if (!clipboardData?.elements && text && isUrl(text)) {
15350
- const urls = Array.from(getUrls(text, { stripWWW: false, sortQueryParameters: false }));
15350
+ const urls = Array.from(getUrls(text, { stripWWW: false, sortQueryParameters: false, requireSchemeOrWww: true }));
15351
15351
  if (urls.length) {
15352
15352
  let str = cloneDeep(text);
15353
15353
  urls.forEach((url, index) => {