该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP Post HTML to Blocks

描述

This plugin is for content that is copy pasted into Gutenberg editor classic block.

Purpose of this plugin is to allow a WordPress publisher administrator to manually surround html tags such as p, div, br for interpretation by Gutenberg editor as html blocks.

This plugin also allows parsing and surrounding of line spaced content in classic editor.

A WordPress admin can use this plugin as an manual way to parse for line spaces (\n), <p> </p>, <div> </div>, and <br>.

屏幕截图

  • Suppose you have a Wordpress post with paragraph lines from a classic editor
  • Using this plugin you search for post title select paragraph tags and press encapsulate html tags
  • This plugin converts html tags into html blocks in Gutenberg editor.
  • Location of plugin's configuration page.
  • Configuration page selecting a tag for searching through.

安装

  1. Download the plugin
  2. Unzip and Upload the wp-post-html-to-blocks.zip folder to your site’s wp-content/plugins directory
  3. Activate the plugin in the WordPress Admin Panel
  4. Visit plugin’s config page under settings side menu in your WordPress dashboard
  5. On config page in admin. Locate a post based on it’s title by typing in keywords from a post’s title. Minimum of two words are required to do a proper search.
  6. Select number of desired results from Top drop down
  7. Press search

常见问题

Why there isn’t a option to search contents of all posts?

Although all searches of posts are user initiated. Searching for key phrases in contents of each post would compromise the performance of a WordPress installation.

Does this parse tags within tags?

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.

Does this plugin edit posts with publish status by default?

You have a choice to select the post with status you prefer.

评价

此插件暂无评价。

贡献者及开发者

“WP Post HTML to Blocks” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“WP Post HTML to Blocks”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • First version of the plugin.

1.0.1

  • added default dashbaord styles to table and search form

1.1

  • Fixed undefined index bugs
  • new screenshots for readme