npm grapesjs 0.21.2
v0.21.2

latest releases: 0.21.10, 0.21.9, 0.21.8...
11 months ago

Docs

Added

  • Added experimental disableTextInnerChilds option to Components module configuration.
    With this option, you're able to decide which inner component inside text should be disabled (eg. no select, no hover, no layer visibility) once edited.
    grapesjs.init({
      // ...
      domComponents: {
        // disable all inner childs
        disableTextInnerChilds: true,
        // disable all except link components
        disableTextInnerChilds: (child) => !child.is('link'),
      }
    })
  • Added usePlugin for a better TS support with plugins
  • Added Component.forEachChild method.
  • Added more TS exports and fixed Editor#setZoom type by @PaulRill00 in #5106

Changed

  • Improve TS for Components.addType
  • Updated German locale by @c9a2334 in #5114
  • Trigger component:styleUpdate on component style changes #4897

Fixed

  • Fixed addStyle(string, string) #5105
  • Take into account scroll data on drop in absolute mode
  • Fixed element jumping when resizing on zoomed frame #5103
  • Fixed TS autocomplete for editor events
  • Fix StyleManager.addProperty TS #5135

Removed

  • Removed unused fonts folder

New Contributors

Full Changelog: v0.21.1...v0.21.2

Don't miss a new grapesjs release

NewReleases is sending notifications on new releases.