Lightweight Rich Text Editor toolkit based on TypeScript
https://idea2app.github.io/Edkit/React/
@editor
is compatible with Web components, React & other kinds of class components.
import { EditorComponent, editor } from 'edkit';
export interface HTMLEditor extends EditorComponent {}
@editor
export class HTMLEditor extends HTMLElement implements EditorComponent {
// your class members...
}
import { Component } from 'react';
import { editor, EditorComponent } from 'edkit';
export interface HTMLEditor extends EditorComponent {}
@editor
export class HTMLEditor extends Component implements EditorComponent {
// your class members...
}