-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
158613f
commit e1b0f4a
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |