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

Custom Paste Patterns

Make tinymce great again!

by Ionuț Staicu · github.com/iamntz/wp-tinymce-custom-paste-patterns

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/iamntz/wp-tinymce-custom-paste-patterns/archive/refs/heads/master.zip

From the readme

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

Read the full README on GitHub →