Releases: GrapesJS/grapesjs
Releases · GrapesJS/grapesjs
v0.22.3
What's Changed
- Add
destroy
/destroyed
events by @artf in #6289 - Add conditional variables by @mohamedsalem401 in #6282
- Fix cloning pages issue by @mohamedsalem401 in #6291
Full Changelog: v0.22.2...v0.22.3
v0.22.2
What's Changed
- package: pin webpack version for vuepress by @danstarns in #6238
- Refactor data variable listeners to a generic dynamic variable by @mohamedsalem401 in #6229
- Add data condition variable by @mohamedsalem401 in #6239
- Add datasource support to conditional variables by @mohamedsalem401 in #6270
- Throw an error if trying to access a data variable with undefined em by @mohamedsalem401 in #6268
- Fix drag and drop issue on firefox by @mohamedsalem401 in #6278
- Fix layer manager drag and drop by @mohamedsalem401 in #6283
- generate html should keep id when script-export is set by @Singwai in #6276
Full Changelog: v0.22.1...v0.22.2
v0.22.1
What's Changed
- test: checkbox change propagation by @danstarns in #6095
- Feature/data sources by @danstarns in #6018
- refactor: cleanup dataListeners by @danstarns in #6098
- refactor: reuse test setup for data sources by @danstarns in #6099
- test: ensure model and view and el are synced data sources by @danstarns in #6100
- test: coverage for trait changeProp not set by @danstarns in #6101
- refactor: init change to monorepo by @danstarns in #6111
- init: pnpm setup by @danstarns in #6114
- docs: update to point to new contributing guide by @danstarns in #6118
- asDocument not working as expected. Fixes #6116 by @artf in #6121
- Fix Sorter usage in StyleManager by @mohamedsalem401 in #6123
- Ensure the resizer is applied on the properly selected component by @artf in #6128
- refactor: remove extra build by @danstarns in #6127
- ci: add back ts:check by @danstarns in #6133
- docs: fix documantation links by @havijs in #6140
- deps: update pnpm 8.6.3 to 9.10.0 by @danstarns in #6139
- feat: inital move cli to mono-repo by @danstarns in #6126
- docs: fix typos by @omahs in #6147
- Fix undo pages by @artf in #6156
- Rollback a change in UndoManager to avoid breaking style updates in undo/redo by @artf in #6157
- Add ability to drag multiple selected components by @mohamedsalem401 in #6155
- feat: add DataSources to project json storage by @danstarns in #6160
- Fix CLI installation and add Windows compatibility for scripts by @mohamedsalem401 in #6166
- Prevent nesting instances of the same symbol by @mohamedsalem401 in #6164
- Fix moving selected component after dragging an unselected component by @mohamedsalem401 in #6173
- feat: data source mutable by @danstarns in #6176
- Refactor sorter by @mohamedsalem401 in #6149
- Fix studio symbols issue by @mohamedsalem401 in #6182
- test: coverage using data-var with .addCollection by @danstarns in #6186
- Add Canvas Component Dragging API by @mohamedsalem401 in #6184
- fix: memory leak data sources by @danstarns in #6188
- Fix sorter performance by @mohamedsalem401 in #6187
- Feature detect document + fixes on configs by @artf in #6189
- Fixing skipped tests by @artf in #6195
- Fix dragging (absolute dragging mode) by @mohamedsalem401 in #6192
- Fix placeholder by @mohamedsalem401 in #6197
- Add dropzone by @mohamedsalem401 in #6200
- CssRule view datavar event propagation by @danstarns in #6190
- Fix for custom getValue/setValue in TraitView by @artf in #6204
- fix: remove id reassign in data sources by @danstarns in #6132
- feat: add telemetry tracking by @danstarns in #6210
- A few fixes/improvements for the DataSource module by @artf in #6219
- Fix extendStyle with dataSources by @artf in #6220
New Contributors
- @mohamedsalem401 made their first contribution in #6123
- @omahs made their first contribution in #6147
Full Changelog: v0.21.13...v0.22.1
v0.21.13
What's Changed
- Fixed number input value does not persist when using up/down arrows, Issue #6012 by @aswinkumar863 in #6013
- Clean properly viewLayer from the component by @artf in #6021
- Fix typos in german translations by @DanielBiegler in #6037
- refactor: remove dist from src by @danstarns in #6041
- refactor: remove commit hooks by @danstarns in #6060
- development environment upgrades by @danstarns in #6059
- add label to ButtonProps type definition by @havijs in #6066
- Refactor binary numbers to boolean to fix TypeScript type error by @havijs in #6065
- Small bug fixes and improvements by @artf in #6067
- docs: fix grammar error by @havijs in #6068
- Add Dependabot by @danstarns in #6069
- ci: add doc generation step into ci by @danstarns in #6078
- package: lock all dependencies by @danstarns in #6079
- docs: fix the 404 Github Action build badge in README by @WilliamDASILVA in #6085
- feat: add findFirstType method to Component by @WilliamDASILVA in #6084
- Remove element border reset by @artf in #6093
- Avoid removing meaningful whitespaces #5984
- Avoid default strict name escaping for Selector names #5994
New Contributors
- @aswinkumar863 made their first contribution in #6013
- @DanielBiegler made their first contribution in #6037
- @havijs made their first contribution in #6066
- @WilliamDASILVA made their first contribution in #6085
Full Changelog: v0.21.12...v0.21.13
v0.21.12
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
- @danstarns made their first contribution in #5974
Full Changelog: 0.21.11...v0.21.12
v0.21.11
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
- Fix typo in I18n.md by @itmaxxx in #5796
- Update Plugins.md by @chrisgarber in #5859
- Document um.skip by @stfnzl in #5852
- Fix link in asset manager doc by @Dobby85 in #5899
New Contributors
- @itmaxxx made their first contribution in #5796
- @chrisgarber made their first contribution in #5859
- @stfnzl made their first contribution in #5852
- @yanuaraditia made their first contribution in #5872
- @Dobby85 made their first contribution in #5899
Full Changelog: v0.21.10...0.21.11
v0.21.10
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
Docs
- Updated Traits module docs with the addition of trait categories and custom trait manager.
- Added Traits API docs.
- Fixed broken link of Resizer by @Afrin127329 in #5716
Added
- Added categories to Traits by @amirrahmani76 in #5606
- Added
multiUploadSuffix
config to AssetManager by @merlinschumacher in #5672 - Added ru.js by @zaharovrd in #5678
- Added Russian language #5678
- Added
emptyValue
property to StyleManager stack type #5583 - Added
onPaste
andonKeydown
options to RTE module #5682
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
- @amirrahmani76 made their first contribution in #5606
- @bgrand-ch made their first contribution in #5642
- @merlinschumacher made their first contribution in #5672
- @zaharovrd made their first contribution in #5678
- @Wayne-Mather made their first contribution in #5651
- @bernesto made their first contribution in #5704
- @Afrin127329 made their first contribution in #5716
Full Changelog: v0.21.8...v0.21.9
v0.21.8
Added
- Allow
/
in class names by @mahmudz #5433 - Added CSS variables #5437 by @quentin-bettoum
- Support
nomodule
attribute forcanvas.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
oncomponent.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
- @mahmudz made their first contribution in #5433
- @UnderKoen made their first contribution in #5436
- @quentin-bettoum made their first contribution in #5437
- @mapsmarketing made their first contribution in #5422
- @bryanjamesmiller made their first contribution in #5488
- @MaxwellTheSecond made their first contribution in #5504
- @brenoassp made their first contribution in #5546
Full Changelog: v0.21.7...v0.21.8