Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
schlotterer authored Aug 24, 2024
1 parent 158613f commit e1b0f4a
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions README.md
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.

0 comments on commit e1b0f4a

Please sign in to comment.