Skip to content

A javascript-only wrapper for the WordPress block-editor

Notifications You must be signed in to change notification settings

VanOns/block-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Block Editor

This package is a Work In Progress. It aims to seperate the Javascript frontend from 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:

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

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