HTML Editor

Simple html editor based on tiptap.dev with it's StarterKit extension.

Preview


Module & Import


HTMLEditor must be imported separately, since it's not included in Gadjet bundle & module.

js

import { HTMLEditor } from 'gadjet/dist/module/ui/html-editor/html-editor.js';

Usage


js <script defer>

import { HTMLEditor } from 'gadjet/dist/module/ui/html-editor/html-editor.bundle.js';

define('el-html-editor', HTMLEditor);

Element API


Element API is based on tiptap editor api which can be access through <element>.editor

gadjet
Getting Started Style Portion UI