@redabacha/magnolia-react-editor
TypeScript icon, indicating that this package has built-in type declarations

2.4.2 • Public • Published

Magnolia React

npm license

Forked from https://git.magnolia-cms.com/projects/MODULES/repos/frontend-helpers/browse/packages/react-editor

Differences to upstream

  • significantly smaller (and now treeshakeable) bundle (4kB minified vs 35kB minified)
  • esmodule support
  • rewritten with react hooks
  • rewritten in typescript
  • many fixes and improvements, some notable ones include:
    • rewritten html comment injection to not make assumptions about page layout and only ever render html comments in the spa editor
    • proper rerendering of components in the page
    • better logging for certain warnings and errors to make debugging much easier
    • fix for p13n of components with areas (see MGNLFE-147)
  • slightly different but more flexible api to override default render behavior of areas and components
  • no ssr support in spa editor

Readme

Keywords

none

Package Sidebar

Install

npm i @redabacha/magnolia-react-editor

Weekly Downloads

6

Version

2.4.2

License

none

Unpacked Size

114 kB

Total Files

74

Last publish

Collaborators

  • rbacha