@olton/enei-editor
v0.1.6
Published
The content editor for enei cms
Downloads
2
Readme
ENEI Editor
Enei Editor - InPlace html editor for ENEI CMS.
Install
npm i @olton/enei-editor
Using
import {createEneiEditor} from "@olton/enei-editor"
createEneiEditor({
shortcut: "alt+ctrl+e",
serverEndpoint: "http://localhost:5232",
maxHeight: 300
})
or use a precompiled version directly in browser
<script src="https://cdn.jsdelivr.net/gh/olton/enei-editor/lib/enei-editor.js"></script>
<script>
EneiEditor.createEneiEditor({
shortcut: "alt+ctrl+e",
serverEndpoint: "http://localhost:5232",
maxHeight: 300
})
</script>
Copyright 2023 by Serhii Pimenov. Licensed Under MIT license.