⚠️ Note: This is a beta version of a GB Script Plugin. Use it for contributions only. Get latest version from here.
Welcome to the GB Script Plugin repository on GitHub. Get a dive into the source, open issues and contribute! This plugin is useful to convert your Classic Editor Post/Page to Gutenberg Blocks automatically!
It is a great idea to switch to Gutenberg Editor. But, when you switch to Gutenberg Editor, the content of classic editor will not be editable with the new Editor. To make it work, it is required to convert your content to Gutenberg compatible block. That is the problem we are trying to solve with the "Convert Classic Editor to Gutenberg Blocks" script. 💭
Let's have a look at how to use this plugin.
Download, install & activate a required plugin, Multipurpose Gutenberg Block from here.
Download, install & activate GB Script Plugin from here.
Activating these 2 plugins will enable a new button “Convert to Gutenberg Blocks” at the top of editor screen for every Post or Page. Go to the post/page with classic editor content and click on this button.
A new clone of post/page will be created as a draft and converted into the Gutenberg Blocks.
If you like the new draft, just copy and use the title and slug from the Original post to the new Gutenberg post and delete the original post. You can now publish your new Gutenberg post.
The following HTML tags are supported in this Plugin. These HTML tags will be converted from Classic to Gutenberg.
Supported Tags ✔️ | ||||
---|---|---|---|---|
<div> |
<img> |
<table> |
<h1> |
<h1> |
<h2> |
<h3> |
<h4> |
<h5> |
<h6> |
<ul> |
<li> |
<ol> |
<header> |
<section> |
<pre> |
<blockquote> |
<style> |
<script> |
Many more to come.. |
This plugin requires Multipurpose Gutenberg Block plugin.
As this plugin is free and for community’s sake only, contributions from community are also expected.
- Create 'fork' of this repository to your account(you will get this option at top right of this page);
- Create branch into your fork repository like
development
if it exists else from master. - Take Clone of this fork repository to your local system.
- Write your clean code and test with PHPCS with
WordpressVIPMinimum
coding standard. - Commit Your code from your local system.
- And Finally, click
Pull Request
from your fork repository. - This github article will helpful for how to submit pull request from the fork.
This repository is not for support. Please use it for GB Script core issues only. To get help/support, please email us at help@multidots.com
- Bulk Conversion from Classic to Gutenberg
- Report & Analysis for Admin
- Youtube embed Block
- Gutenberg to Classic Reverse Conversion
We are planning to add more and more complex blocks to cover and easily convertible through the GB Script. Keep updated on the releases.
Looking forward to your love ❤️ and support through your valuable contribution.
GPL-3.0 © 2019 Multidots