Skip to content

Releases: GrapesJS/grapesjs

v0.22.3

05 Nov 09:36
c3c9711
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.22.2...v0.22.3

v0.22.2

31 Oct 12:01
a0497d4
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.22.1...v0.22.2

v0.22.1

21 Oct 12:56
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.21.13...v0.22.1

v0.21.13

29 Aug 15:11
727797c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.21.12...v0.21.13

v0.21.12

02 Jul 11:21
Compare
Choose a tag to compare

What's Changed

  • Added the possibility to add blocks via Components.addType
editor.Components.addType('hero-section', {
  model: { ... },
  block: { label: 'Hero section' },
});
  • Added component.setName method to simplify component name update.
  • docs: local setup notes by @danstarns in #5974
  • Fixed Symbols with text components by @artf in #5983
  • Prevent component selection during text editing and drag #5517

New Contributors

Full Changelog: 0.21.11...v0.21.12

v0.21.11

24 Jun 09:37
Compare
Choose a tag to compare

Added

  • Symbols API (beta) #5958
    Documentation here
  • Introduce HTML string document import (beta) #5895
  • Show style applied on tag (p, span, div) and private selectors as parent rules instead of hiding them by @Dobby85 in #5890
  • Added an option to return inline style even if we want to avoid it at the beginning by @Dobby85 in #5933
  • Added block:category:update event for listening block category updates.
  • Added trait:category:update event for listening trait category updates.

Fixed

  • Updated Selector escapeName to accommodate special characters used in tailwind class names by @bernesto in #5719
  • Added support for parsing properly <template> elements #5857
  • Fixed selector view on attribute id change #5882
  • Fix possible double entry in Layers #5820
  • Toggle the move icon in Layers when component draggable changes #5943
  • Move last selected component by @stfnzl in #5847
  • Add Indonesian (Bahasa) locale support by @yanuaraditia in #5872

Docs

New Contributors

Full Changelog: v0.21.10...0.21.11

v0.21.10

03 Apr 20:34
Compare
Choose a tag to compare

Added

  • Added the ability to preselect page on project load via new config.pageManager.selected option #5463
  • Added new command events. Added these events mainly for consistency with other module events. Previous are still there and working but should be considered from now as deprecated.

Fixed

  • Fix ColorPickerOptions TS #5739
  • Remove by default unsafe attribute values from HTML #5743
  • Skip component resizer if already enabled #5753
  • Always place the tools above the highlighter by @bernesto in #5736

Full Changelog: v0.21.9...v0.21.10

v0.21.9

09 Mar 10:54
Compare
Choose a tag to compare

Docs

Added

Changed

  • Color picker offset relative to editor container by @bernesto in #5704
  • Allow to unlock components inside a locked one #5635
  • Take into account borders during a component move #5621

Fixed

  • Fix Layers view not changing on page switch #5593
  • Fix update of layers #5607
  • Fix TS in StyleManagerConfig.sectors.properties #5613
  • Fix SelectComponent resizer with custom options #5630
  • Fix ComponentDelete command #5633
  • Allow comment Components in Text #5657
  • Prevent errors with layerable textnodes #5720
  • Fix boolean values when getting HTML with withProp

New Contributors

Full Changelog: v0.21.8...v0.21.9

v0.21.8

20 Dec 20:20
Compare
Choose a tag to compare

Added

  • Allow / in class names by @mahmudz #5433
  • Added CSS variables #5437 by @quentin-bettoum
  • Support nomodule attribute for canvas.scripts options
  • Added a new built-in delegate property to Component. Example of usage #5507

Changed

  • Updates default layers layout to flex style #5422 by @mapsmarketing
  • Update Component.replaceWith (now returns always an array of components)

Fixed

  • Fixed resizing when zoomed by @UnderKoen #5436
  • Trigger component:styleUpdate on component.addStyle/setStyle #5424
  • Update rules id with remapped duplicate components in Pages #5425
  • Ensure components with script return id in HTML export #5441
  • Preserve custom styles on text component change #5442
  • Prevent crash if block category id is an object builtin method name #5478
  • Fix style bg image property with URLs containing parentheses #5497
  • Fix default Resizer on style update #5501
  • Fix TS type for replaceWith method by @MaxwellTheSecond #5504
  • Allow paste when nothing is selected by @lexoyo #5524
  • Fix UndoManager start/stop #5530
  • Fix built-in RTE with custom rendered components #5536
  • Fix autoplay for Youtube videos #5542
  • Fix Portuguese translations by @brenoassp #5546
  • Avoid triggering rte:disable on component move #5545
  • Fix performance issues with components having a lot of classes #5525
  • Allow ComponentScriptView with custom type attribute #5563
  • Spelling fix in docs - Components.md by @bryanjamesmiller #5488

New Contributors

Full Changelog: v0.21.7...v0.21.8

v0.21.7

22 Sep 19:05
Compare
Choose a tag to compare

Added

  • Added missing type export by @padcom in #5399
  • Added src/styles back to the distributed package (will be removed with the next breaking change release) #5392

Full Changelog: v0.21.6...v0.21.7