Artur Arseniev
a46b6eaf26
Release GrapesJS core latest: v0.23.2 ( #6777 )
3 weeks ago
Artur Arseniev
8ea1322d3f
Fix command registration with old ids ( #6776 )
3 weeks ago
Geon
b97fe78228
Narrow DataSources resolver guard inputs ( #6773 )
3 weeks ago
Artur Arseniev
6af922e759
Release GrapesJS core latest: v0.23.1 ( #6772 )
4 weeks ago
Artur Arseniev
3a58b88d66
Release GrapesJS core rc: v0.23.1-rc.0 ( #6770 )
4 weeks ago
Artur Arseniev
9eab886998
Add support for dynamic plugins ( #6768 )
* Setup new local plugin manager
* Clean up exports
* Cleanup tracking
* Cleanups
* Cleanup plugins doc
* Update findGlobalPluginId
* Update plugin docs
* Update plugin docs
* Add ComponentMatcher to find methods
* Update findType
* Update old plugin manager tests
* Up ignore files
* Up TS
4 weeks ago
Artur Arseniev
a33dec84c5
Add support for custom HTML code parsers ( #6767 )
* Initial setup for custom code parser
* Update ParserHtml
* Move methods
* Up
* Move utils
* Fix tests
* Up sanitize
* Up domToParsedNode
* Up fragment node
* Remove node cloning
* Convert ParserHtml to class
* Convert ParserCss to a class
* Update Custom CSS/HTML docs
* Always use isParsedNode if available
* Update API
* Update docs for isParserNode
1 month ago
Artur Arseniev
6e3c668a06
Add types to command ( #6765 )
* Initial setup for typed commands
* Remove usage of require
* Update tests
* Update tests
* Move TS checks down
* Refactor Preview
* Refactor resize command
* Refactor CommandCopyComponent
* Refactor PasteComponent
* Refactor CommandCanvasMove
* Refactor CommandCanvasClear
* Refactor ExportTemplate
* Refactor OpenLayers
* Refactor CommandOpenStyleManager
* Refactor OpenTraitManager
* Refactor OpenBlocks
* Refactor OpenAssets
* Refactor SwitchVisibility
* Refactor ShowOffset
* Refactor MoveComponent
* Refactor SelectComponent
* Refactor ComponentNext
* Refactor ComponentPrev
* Refactor ComponentEnter
* Refactor ComponentExit
* Refactor ComponentDelete
* Refactor ComponentStyleClear
* Refactor ComponentDrag
* Refactor SelectPosition
* Add remove command method to the CommandManager class
* Format
1 month ago
dependabot[bot]
7c8444375f
build(deps): bump lodash from 4.17.21 to 4.18.1 ( #6763 )
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.21 to 4.18.1.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.21...4.18.1 )
---
updated-dependencies:
- dependency-name: lodash
dependency-version: 4.18.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Artur Arseniev <artur.catch@hotmail.it>
1 month ago
dependabot[bot]
92a9abfac4
build(deps): bump webpack-dev-server from 5.1.0 to 5.2.4 ( #6759 )
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 5.1.0 to 5.2.4.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v5.1.0...v5.2.4 )
---
updated-dependencies:
- dependency-name: webpack-dev-server
dependency-version: 5.2.4
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Artur Arseniev <artur.catch@hotmail.it>
1 month ago
dependabot[bot]
c6154a9ba6
build(deps-dev): bump postcss from 8.4.47 to 8.5.10 ( #6757 )
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.47 to 8.5.10.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.47...8.5.10 )
---
updated-dependencies:
- dependency-name: postcss
dependency-version: 8.5.10
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Artur Arseniev <artur.catch@hotmail.it>
1 month ago
dependabot[bot]
02542ae6c5
build(deps): bump serialize-javascript from 1.9.1 to 6.0.2 ( #6762 )
Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript ) from 1.9.1 to 6.0.2.
- [Release notes](https://github.com/yahoo/serialize-javascript/releases )
- [Commits](https://github.com/yahoo/serialize-javascript/compare/v1.9.1...v6.0.2 )
---
updated-dependencies:
- dependency-name: serialize-javascript
dependency-version: 6.0.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 month ago
Artur Arseniev
2ea1d66618
Initial support for nested CSS rules ( #6760 )
* Add support for nested CSS rules
* Update undo test
* Cleanup resolutions and TS config
* Update jest
* Normalize tests for the latest jsdom version
* Parse nested CSS rules
* Add hidden test for @page at-rule
* Fix VuePress build
* Up CI nodejs
1 month ago
Artur Arseniev
cf8257ad6f
Release GrapesJS core latest: v0.22.16 ( #6756 )
2 months ago
Artur Arseniev
48be01b860
Improve loading performance ( #6755 )
* Cache list counter
* Skip model resolver when possible
* Clean up Component.getView
* Cleanup SelectComponent
* Update Component getView
* Check in CommandAbstract
2 months ago
Yogesh Verma
c00650861f
Fix incorrect link to storage module ( #6753 )
The components module contains an incorrect link to the storage module (storage instead of Storage).
2 months ago
Artur Arseniev
6e8e70642f
Release GrapesJS core rc: v0.22.16-rc.0 ( #6752 )
2 months ago
Artur Arseniev
fdd0a5f8d4
Range dom guard + docs/TS fixes ( #6751 )
* Fix createRange
* Update Component events JSDoc. Closes #6746
* Add at to AddCollectionOptions TS interface
2 months ago
Artur Arseniev
8efa47ea76
Fix matches in sorter ( #6750 )
* Cleanup old matches usage
* Avoid crashes on matches. Fixes #6748
2 months ago
Artur Arseniev
65a128d710
Release GrapesJS core latest: v0.22.15 ( #6745 )
2 months ago
Artur Arseniev
0fb9650d4e
Allow dynamic boxRect for CanvasSpot ( #6744 )
* Allow dynamic boxRect for CanvasSpot
* Switch to ORG_NPM_TOKEN
2 months ago
Artur Arseniev
b1b00ab4dc
Add allowEmpty to getCss ( #6742 )
3 months ago
Artur Arseniev
054fd9354d
Add convertAttributeValues to allow parsing HTML attributes values ( #6741 )
3 months ago
Artur Arseniev
cf79f603e6
Fix border radius order ( #6740 )
* Swap border radius properties order
* Update border radius CSS
3 months ago
Artur Arseniev
3678fe129e
Fix Youtube videos with strict-origin-when-cross-origin ( #6739 )
3 months ago
Artur Arseniev
86d471ce0a
Data source import policy ( #6738 )
* Start data source import policy implementation
* Fix TS
* Update applyImportPolicy
* Up TS naming
* Up test file
* Improve applyImportPolicy
* Add more use cases to data binding import policy tests
* Add support per-call dataBindingImportPolicy
* Up JSDoc
* Fix tests
* Format
3 months ago
dependabot[bot]
dca82ef46e
build(deps): bump lodash.template from 4.5.0 to 4.18.1 ( #6735 )
Bumps [lodash.template](https://github.com/lodash/lodash ) from 4.5.0 to 4.18.1.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.5.0...4.18.1 )
---
updated-dependencies:
- dependency-name: lodash.template
dependency-version: 4.18.1
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months ago
tomekcz
47fbb1b048
allow for more complex selectors in parseSelector ( #6684 )
* Partially allow complex state in parseSelector
* removed export by mistake
* prettier fix
3 months ago
Artur Arseniev
591333aa37
Merge remote-tracking branch 'origin/dev' into dev
3 months ago
Artur Arseniev
b7da3f58e8
Merge branch 'codex/pr-6692-with-test' into dev
3 months ago
Artur Arseniev
ecbeb61420
Up index
3 months ago
Artur Arseniev
9a1ee46dac
Make test fail
3 months ago
Artur Arseniev
05a70fce49
Add sorterLayers test
3 months ago
David Harvey
bf8b3df4fd
Port newer color readability functions from TinyColor ( #6681 )
* Port newer color readability functions from TinyColor
* Formatting
3 months ago
Matt Murphy
292b7569ee
Fix typo in 'isComponent' reference ( #6727 )
3 months ago
dependabot[bot]
69d24e9c12
build(deps): bump underscore from 1.13.1 to 1.13.8 ( #6721 )
Bumps [underscore](https://github.com/jashkenas/underscore ) from 1.13.1 to 1.13.8.
- [Commits](https://github.com/jashkenas/underscore/compare/1.13.1...1.13.8 )
---
updated-dependencies:
- dependency-name: underscore
dependency-version: 1.13.8
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months ago
Artur Arseniev
dd1c14074e
Ensure styles cache is properly cleared. Fixes #6685 ( #6712 )
4 months ago
Artur Arseniev
8b172f0338
Ensure document is defined during hasFocus ( #6711 )
Ensure document is defined during hasFocus. Fixes #6707 .
4 months ago
Artur Arseniev
095b3ecde4
Type callback events ( #6710 )
* Allow skipping nodes during HTML parsing
* Type canvas events
* Type commands event callbacks
* Type device event callbacks
* Add callback events to i18n
* Add callbacks types to keymaps
* Add callback types to modal
* Add callback types to layers
* Add callback types for pages
* Add callback types to parser
* Add callback type to RTE
* Add callback types to selectors
* Add callback types for storage
* Add callback types to StyleManager
* Add callback types to traits
* Add callback events to Components
* Add callbacks types to editor
* Up types
* Fix API docs generation
* Format
4 months ago
them7d
ac68cc7f84
fix component sorting by removing visibility filters(displayindex)
5 months ago
Artur Arseniev
6370546f43
Update data resolver watcher ( #6676 )
* Fix data resolver data collection instances update
* Add block events callbacks
* Update Block events callback types
* Add asset event callbacks
* Fix TS
6 months ago
David Harvey
504e0256a2
Fix incorrect conversion of rgba to hex8 in color picker ( #6672 )
* Fix incorrect conversion of rgba to hex8 in color picker
* Fix parsing of hex8 strings too
6 months ago
Artur Arseniev
4c81bad872
Merge branch 'IhorKaleniuk666-fix/id-conflict' into dev
7 months ago
Artur Arseniev
6c3f0ab0f4
Add keepAttributeIdsCrossPages option
7 months ago
Artur Arseniev
6ec4ebfeb8
Merge branch 'fix/id-conflict' of https://github.com/IhorKaleniuk666/grapesjs into IhorKaleniuk666-fix/id-conflict
7 months ago
Artur Arseniev
8cf995e4d5
Update resolveCollectionVariable ( #6670 )
7 months ago
IhorKaleniuk666
b0509c90ca
add test with page ID
7 months ago
Kaleniuk
eacdb6bbfa
Merge branch 'dev' of github.newgen:IhorKaleniuk666/grapesjs into fix/id-conflict
7 months ago
Artur Arseniev
9e065b1b3b
Release GrapesJS docs: v0.22.7 ( #6665 )
7 months ago
Artur Arseniev
2f43b5cfb4
Up wrapper api collections ( #6664 )
* Add getCollectionsState to ComponentWrapper
* Add DataFieldPrimitiveType to DataSourceManager module
7 months ago