From e1b0f4a4ec3bf6a62281cab4900181bca29da79f Mon Sep 17 00:00:00 2001 From: Joel Schlotterer <103943917+schlotterer@users.noreply.github.com> Date: Sat, 24 Aug 2024 17:22:39 -0500 Subject: [PATCH] Update README.md --- README.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/README.md b/README.md index f7d85b1..b59bf55 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,39 @@ # disable-shortcode-pasting Prevents automatic shortcode blocks from being inserted when pasting into plain text blocks like paragraphs or headings. + +=== Disable Shortcode Pasting in Plain Text Blocks === +Contributors: yourusername +Tags: shortcode, paste, block editor, gutenberg, content +Requires at least: 5.0 +Tested up to: 6.2 +Stable tag: 1.0 +Requires PHP: 7.0 +License: GPLv2 or later +License URI: https://www.gnu.org/licenses/gpl-2.0.html + +== Description == +Prevents automatic shortcode blocks from being inserted when pasting into plain text blocks like paragraphs, headings, and quotes in the block editor. + +== Installation == +1. Upload the plugin files to the `/wp-content/plugins/disable-shortcode-pasting` directory, or install the plugin through the WordPress plugins screen directly. +2. Activate the plugin through the 'Plugins' screen in WordPress. +3. That’s it! The plugin works automatically in the background. + +== Frequently Asked Questions == + += Will this affect the functionality of my shortcodes? = +No, shortcodes will still function normally on the front end. The plugin only changes how they behave when pasted in the block editor. + +== Screenshots == +1. Example of a pasted shortcode remaining inline in a paragraph block. + +== Changelog == += 1.0 = +* Initial release. + +== Upgrade Notice == += 1.0 = +First release. + +== License == +This plugin is licensed under the GPLv2 or later. See the License URI for details.