Skip to content

Commit

Permalink
Merge pull request #2 from schlotterer/detailing-info
Browse files Browse the repository at this point in the history
Create readme.txt
  • Loading branch information
schlotterer authored Aug 25, 2024
2 parents 41b9aa7 + 2a63d02 commit 9370283
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
=== Plugin Name ===
Contributors: YourUserName
Tags: shortcode, paste, block editor, gutenberg, content
Requires at least: 6.5
Tested up to: 6.6.1
Stable tag: 1.0
Requires PHP: 8.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Prevent shortcode blocks from being automatically inserted when pasting into plain text blocks like paragraphs, headings, and quotes.

== Description ==
This plugin prevents WordPress from automatically converting shortcodes into shortcode blocks when pasted into plain text blocks in the block editor. The shortcode will be treated as plain text within the block.

== 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. The plugin works automatically.

== Frequently Asked Questions ==

= Does this affect shortcode functionality on the front end? =
No, shortcodes will still work as expected on the front end. The plugin only affects how shortcodes are handled when pasted into the block editor.

== Changelog ==
= 1.0 =
* Initial release.

== Upgrade Notice ==
= 1.0 =
Initial version.

== License ==
This plugin is licensed under the GPLv2 or later. See the License URI for details.

0 comments on commit 9370283

Please sign in to comment.