Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vanons/block-editor

A javascript-only wrapper for the WordPress block-editor
https://github.com/vanons/block-editor

Last synced: 3 months ago
JSON representation

A javascript-only wrapper for the WordPress block-editor

Awesome Lists containing this project

README

        

# Block Editor

This package is a Work In Progress. It aims to seperate the Javascript frontend from [Laraberg](https://github.com/VanOns/laraberg) so it can be maintained seperately, and maybe serve as a starting point for other backend implementations.

## Usage

To use the editor simply create a input or textarea element and use it to initalize it like this:

```js
import { initializeEditor } from 'mauricewijnia/block-editor'

const element = document.querySelector('#content')
initializeEditor(element)
```