# DragBlock

WordPress has completely changed the editing experience by introducing block-based editor (earlier Gutenberg). It definitely has brought more power to content editing.

This plugin will work as add-on to WordPress block editor which will allow you to completely design a whole website with basic blocks and powerful editing panels

If you are looking for a full control site builder, then this plugin is for you.

## Installation

1. Go to Dashboard > Plugins > Add New.
2. Search for 'DragBlock' in Search plugins... textbox and hit Enter.
3. Install & Active the 'DragBlock' plugin.

## Usage

* Go to Dashboard > Appearance > Editor to modify your site design
* Go to Dashboard > DragBlock > and choose settings or libraries you want to manage

## Frequently Asked Questions

### Where can I find 'DragBlock' blocks in WordPress?
Edit any templates or parts with block editor and click on Block Inserter on top-left corner next to site logo. Inside Search box, search for 'DragBlock' to find the blocks.

### How can I manage fonts?
Go to Dashboard > DragBlock > Font Library and add any fonts you want to your site design.

## How to contribute?

Contributions or Suggestions are most welcome. We would really appreciate even minor contribution to the plugin or documentation.

### Development environment recommendations
1. Latest version of WordPress
2. Node v16
3. Composer v2+
4. WordPress coding standard

### Steps to follow
1. Create a new branch from `main`.
2. Clone the repository into your local and checkout to your branch.
3. Run ``npm install`` to install all depedencies
4. Run ``npm run start`` to start development environment.
5. Once you're done with code updates and testing, run ``npm run build`` to make assets ready to go into production environment.
6. Commit, push and publish your local branch.
7. Create a 'Pull Request' from your branch to merge your code into `main`.