Can I alter the block editor's paste text behavior?

In the sample editor, create a paragraph with just Hello world, copy it and--while still selected--paste over it. You get the expected pasted text.

But if there's a leading word with a colon (Hello: world) then pasting puts the entire text into 1 link. I don't think I've seen this auto-linking in any other WYSIWYG editor, but I don't know that it's a bug.

Is this a feature that can be disabled?

Topic block-editor bug Wordpress javascript

Category Web


This is apparently Gutenberg bug 24895.

The problem being that Hello: is a well-formed URI scheme, so WP shouldn't rely on new URL() alone to recognize a pasted link.

new URL('Hello: world');

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.