Changeset 2954035
- Timestamp:
- 08/15/2023 09:25:00 PM (2 years ago)
- Location:
- wp-post-html-to-blocks/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (4 diffs)
-
wp-post-html-to-blocks.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-post-html-to-blocks/trunk/readme.txt
r2580008 r2954035 3 3 Tags: html tags, surround, Gutenberg , html block 4 4 Requires at least: 5.0 5 Tested up to: 5.85 Tested up to: 6.1 6 6 Requires PHP: 7.0 7 Stable tag: 1. 17 Stable tag: 1.2 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 31 31 32 32 == Changelog == 33 33 34 34 = 1.0 = 35 35 * First version of the plugin. … … 42 42 * new screenshots for readme 43 43 44 = 1.2 = 45 * Welcome panel color to grey 46 * Use the word markup in welcome message 47 44 48 == Frequently Asked Questions == 45 49 … … 50 54 = Does this parse tags within tags? = 51 55 52 Sorry, This plugin allows parsing of external encapsulating tags. Not tags inside of tags. Tags inside tags will be treated by Gutenberg as requiring repairs and Gutenberg editor will alert post editor.56 Sorry, This plugin allows parsing of external surrounding tags. Not tags inside of tags. Tags inside tags will be treated by Gutenberg as requiring repairs and Gutenberg editor will alert post editor. 53 57 54 58 = Does this plugin edit posts with publish status by default? = -
wp-post-html-to-blocks/trunk/wp-post-html-to-blocks.php
r2492404 r2954035 4 4 Plugin URI: http://www.zdatatech.com/plugins/wp-post-html-to-blocks 5 5 Description: Admin options to surround line space, p tag, and div tag content with html Gutenberg Blocks 6 Version: 1. 16 Version: 1.2 7 7 Author: Zeshan 8 8 Author URI: http://zdatatech.com/about … … 92 92 $thePostContent = $post->post_content; 93 93 94 $matchPtags = "/<p\b>(.*?)<.p\b>/s"; 94 $matchPtags = "/(.*?)$/m"; 95 95 96 96 97 $matchAlreadyExists = "/<!-- wp:html --\>/s"; … … 280 281 ?> 281 282 282 <div class="welcome-panel" id="welcome-panel">283 <div style="background_color:#c3c4c7"> 283 284 <h2>About WP Post HTML to Blocks</h2> 284 285 285 <p>For content that is copy pasted into <strong>Gutenberg editor classic block - edit as html</strong>. Purpose of this plugin is to allow a <strong>Wordpress publisher administrator</strong> to manually <strong>surround html tags</strong> such as p, div, br <strong>for interpretation</strong> by Gutenberg editor <strong>as html blocks.</strong></p>286 <p>For markup that is copy pasted into <strong>Gutenberg editor classic block</strong>. Purpose of this plugin is to allow a <strong>Wordpress publisher administrator</strong> to manually <strong>surround html tags</strong> such as p, div, br <strong>for interpretation</strong> by Gutenberg editor <strong>as html blocks.</strong></p> 286 287 287 288 <?php
Note: See TracChangeset
for help on using the changeset viewer.