https://github.com/vanons/block-editor
A javascript-only wrapper for the WordPress block-editor
https://github.com/vanons/block-editor
Last synced: 2 months ago
JSON representation
A javascript-only wrapper for the WordPress block-editor
- Host: GitHub
- URL: https://github.com/vanons/block-editor
- Owner: VanOns
- Created: 2021-01-19T16:47:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-04T11:39:44.000Z (4 months ago)
- Last Synced: 2025-04-22T01:03:51.889Z (3 months ago)
- Language: TypeScript
- Size: 794 KB
- Stars: 19
- Watchers: 7
- Forks: 14
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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)
```