Plugin Directory

Changeset 2954035


Ignore:
Timestamp:
08/15/2023 09:25:00 PM (2 years ago)
Author:
zeshanb
Message:

background color fixed and added the word markup

Location:
wp-post-html-to-blocks/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-post-html-to-blocks/trunk/readme.txt

    r2580008 r2954035  
    33Tags: html tags, surround, Gutenberg , html block
    44Requires at least: 5.0
    5 Tested up to: 5.8
     5Tested up to: 6.1
    66Requires PHP: 7.0
    7 Stable tag: 1.1
     7Stable tag: 1.2
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    3131 
    3232== Changelog ==
    33  
     33
    3434= 1.0 =
    3535* First version of the plugin.
     
    4242* new screenshots for readme
    4343
     44= 1.2 =
     45* Welcome panel color to grey
     46* Use the word markup in welcome message
     47
    4448== Frequently Asked Questions ==
    4549 
     
    5054= Does this parse tags within tags? =
    5155
    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.
     56Sorry, 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.
    5357
    5458= Does this plugin edit posts with publish status by default? =
  • wp-post-html-to-blocks/trunk/wp-post-html-to-blocks.php

    r2492404 r2954035  
    44Plugin URI: http://www.zdatatech.com/plugins/wp-post-html-to-blocks
    55Description: Admin options to surround line space, p tag, and div tag content with html Gutenberg Blocks
    6 Version: 1.1
     6Version: 1.2
    77Author: Zeshan
    88Author URI: http://zdatatech.com/about
     
    9292            $thePostContent = $post->post_content;
    9393
    94             $matchPtags = "/<p\b>(.*?)<.p\b>/s";
     94            $matchPtags = "/(.*?)$/m";
     95           
    9596           
    9697            $matchAlreadyExists = "/<!-- wp:html --\>/s";
     
    280281?> 
    281282
    282    <div class="welcome-panel" id="welcome-panel"    >
     283   <div style="background_color:#c3c4c7">
    283284    <h2>About WP Post HTML to Blocks</h2>
    284285   
    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>
    286287   
    287288    <?php
Note: See TracChangeset for help on using the changeset viewer.