WP Manifestindependent plugin directory
manifest / editor / wp-tinymce-custom-paste-patterns

Custom Paste Patterns

Make tinymce great again!

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/iamntz/wp-tinymce-custom-paste-patterns/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
What is this? WordPress allows you to automagically convert a selected text to a link when you paste an url (into TinyMCE). But how about converting ANY text into an URL? E.g. if you want to convert a relative path to an url? If you know some very little Regex, you can tweak it as needed. Here is how: Usage By default, it will accept clipboard content that follows this pattern: /?go=NUMBER. If you want to add a custom pattern, you can do so by using a filter in your functions.php: Found this useful? You can get hosting, donate or buy me a gift. License MIT