UNPKG

strapi-html-editor

Version:

Presenting an alternative to standard wysiwyg editor in Strapi in the form of this HTML-editor that facilitates easier and hussle-free data customization to use with various frontends.

19 lines (15 loc) 369 B
import pluginPkg from "../../package.json"; import Wysiwyg from "./components/Wysiwyg"; import pluginId from "./pluginId"; const name = pluginPkg.strapi.name; export default { register(app) { app.addFields({ type: "wysiwyg", Component: Wysiwyg }); app.registerPlugin({ id: pluginId, isReady: true, name, }); }, bootstrap() {}, };