github GrapesJS/grapesjs v0.14.5

latest releases: v0.22.3, v0.22.2, v0.22.1...
6 years ago

Changed

  • ⚠️ POSSIBLY BREAKING CHANGE ⚠️ Panel ids are moved to classes
    So if you've used selectors like #gjs-pn-* (in CSS/JS) you should change them to .gjs-pn-*
  • Append the Modal inside the container element

Added

  • Added remove listener to buttons in panels. Closes #824
  • Added the possibility to render panels outside of the main editor container, eg.
    editor.Panels.addPanel({
      id: 'myNewPanel',
      el: 'query-selector', // or HTMLELement
    })
  • Added the possibility to render Layers, Block, Styles, Selectors and Traits
    outside of the main editor container (via appendTo option), eg.
    grapesjs.init({
      ...
      layerManager: {
        appendTo: 'query-or-element',
        ...
      },
      blockManager: {
        appendTo: 'query-or-element',
        ...
      },
      styleManager: {
        appendTo: 'query-or-element',
        ...
      },
      selectorManager: {
        appendTo: 'query-or-element',
        ...
      },
      traitManager: {
        appendTo: 'query-or-element',
        ...
      }
    });
    Live demo with a totally custom UI
    https://codepen.io/artf/full/MQpZPj/
    custom-ui

Fixed

  • Fixed toolbar position on window resize #810
  • Extend correctly Layers options #812
  • Parse correctly the integer value with a function #806
  • Execute the callback in StorageManager even with an empty storage

Don't miss a new grapesjs release

NewReleases is sending notifications on new releases.