Artur Arseniev
902c82afa7
Add allowEmpty to getCss
5 months ago
Artur Arseniev
054fd9354d
Add convertAttributeValues to allow parsing HTML attributes values ( #6741 )
5 months ago
Artur Arseniev
cf79f603e6
Fix border radius order ( #6740 )
* Swap border radius properties order
* Update border radius CSS
5 months ago
Artur Arseniev
3678fe129e
Fix Youtube videos with strict-origin-when-cross-origin ( #6739 )
5 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
5 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>
5 months ago
tomekcz
47fbb1b048
allow for more complex selectors in parseSelector ( #6684 )
* Partially allow complex state in parseSelector
* removed export by mistake
* prettier fix
6 months ago
Artur Arseniev
591333aa37
Merge remote-tracking branch 'origin/dev' into dev
6 months ago
Artur Arseniev
b7da3f58e8
Merge branch 'codex/pr-6692-with-test' into dev
6 months ago
Artur Arseniev
ecbeb61420
Up index
6 months ago
Artur Arseniev
9a1ee46dac
Make test fail
6 months ago
Artur Arseniev
05a70fce49
Add sorterLayers test
6 months ago
David Harvey
bf8b3df4fd
Port newer color readability functions from TinyColor ( #6681 )
* Port newer color readability functions from TinyColor
* Formatting
6 months ago
Matt Murphy
292b7569ee
Fix typo in 'isComponent' reference ( #6727 )
6 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>
6 months ago
Artur Arseniev
dd1c14074e
Ensure styles cache is properly cleared. Fixes #6685 ( #6712 )
7 months ago
Artur Arseniev
8b172f0338
Ensure document is defined during hasFocus ( #6711 )
Ensure document is defined during hasFocus. Fixes #6707 .
7 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
7 months ago
them7d
ac68cc7f84
fix component sorting by removing visibility filters(displayindex)
8 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
9 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
9 months ago
Artur Arseniev
4c81bad872
Merge branch 'IhorKaleniuk666-fix/id-conflict' into dev
9 months ago
Artur Arseniev
6c3f0ab0f4
Add keepAttributeIdsCrossPages option
9 months ago
Artur Arseniev
6ec4ebfeb8
Merge branch 'fix/id-conflict' of https://github.com/IhorKaleniuk666/grapesjs into IhorKaleniuk666-fix/id-conflict
9 months ago
Artur Arseniev
8cf995e4d5
Update resolveCollectionVariable ( #6670 )
9 months ago
IhorKaleniuk666
b0509c90ca
add test with page ID
10 months ago
Kaleniuk
eacdb6bbfa
Merge branch 'dev' of github.newgen:IhorKaleniuk666/grapesjs into fix/id-conflict
10 months ago
Artur Arseniev
9e065b1b3b
Release GrapesJS docs: v0.22.7 ( #6665 )
10 months ago
Artur Arseniev
2f43b5cfb4
Up wrapper api collections ( #6664 )
* Add getCollectionsState to ComponentWrapper
* Add DataFieldPrimitiveType to DataSourceManager module
10 months ago
IhorKaleniuk666
8e742f19aa
update fix
10 months ago
IhorKaleniuk666
d56ba64cad
revert test
10 months ago
Kaleniuk
949ee84e52
fix
10 months ago
Kaleniuk
7656631117
update
10 months ago
Kaleniuk
f1f021173d
remove comments
10 months ago
Kaleniuk
03c1fb8e56
Fix ID conflict between pages in GrapesJS
10 months ago
Artur Arseniev
fdb55d6111
Release GrapesJS core latest: v0.22.14 ( #6656 )
10 months ago
Artur Arseniev
f59e981f76
Align component wrapper resolver with collections ( #6653 )
10 months ago
Artur Arseniev
61ebd6c50a
Release GrapesJS core rc: v0.22.14-rc.3 ( #6650 )
10 months ago
Artur Arseniev
754e2f4f56
Fixes and improvements for datasources ( #6649 )
* Improve data source TS
* Skip running updateSymbolOverride on non-symbol components
* Refactor data types
* Update default root resolver item
* Resolve direct data sources in ComponentWrapper
* Add updateDebug event
* Fix data resolver update logic
* Fix id removal in ComponentDataCollection and tests
* Clone CSS rules pasted cross components
* Fix attributes/styles collide in data sources
10 months ago
David Harvey
0c33465fb3
Support `attributes` option alongside `cleanId` for `toHTML` operations ( #6642 )
* Support `attributes` option alongside `cleanId` for `toHTML` operations
* whoops
10 months ago
markdanial
6d9746911b
GRA-164: adds sitemap as build step to grapesjs ( #6647 )
Co-authored-by: Mark Danial <mark@grapesjs.com>
10 months ago
Artur Arseniev
ecb8ae66f5
Release GrapesJS core rc: v0.22.14-rc.2 ( #6644 )
10 months ago
Artur Arseniev
6a4780370a
Add getDataResolver to ComponentWithCollectionsState ( #6643 )
10 months ago
Artur Arseniev
3ffa51c2b1
Release GrapesJS core rc: v0.22.14-rc.1 ( #6639 )
10 months ago
Artur Arseniev
c7fdedb429
Fix component content reset with duplicated ids ( #6638 )
10 months ago
Artur Arseniev
2324273dd1
Release GrapesJS core rc: v0.22.14-rc.0 ( #6636 )
11 months ago
mohamed yahia
c9667e09b4
Performance improvements ( #6621 )
* add cache for css composer
* make animation for cssRuleView
* Refactor component class
* improve helper functions
* add cache for selectors
* make property view render in virtual dom first
* Refactor html parser
* Revert component.createId change
* Add CssRule.getAtRule
* Revert cssRuleView change
* Add css rule caching
* Fix parse style tests
* Revert component changes
* Revert model data resolver changes
* revert html parser changes
* revert property view changes
* revert cach dom changes
* revert dom changes
* fix test
* Move cache to ItemModule
* Refactor and cleanup
* Fix type
* Adjust selectors get
* Cleanup
* Cleanup selectors
---------
Co-authored-by: Artur Arseniev <artur.catch@hotmail.it>
11 months ago
Artur Arseniev
83bb01b94b
Data source schema & providers ( #6633 )
* Setup initial schema types
* Setup initial schema methods
* Add DataSource tests
* Up test
* Add test getValue
* Cleanup
* Up test
* Add setValue method
* Up docs
* Check nested arrays
* Add a test for nested setValue
* Improve setValue for nested values
* Improve setValue for nested values
* Setup relation tests
* Add getResolvedRecords
* Resolve one to many relations in DataSource records
* Add DataSourceSchema
* Up type
* Start data source providers
* Start test provider
* Add tests for loadProvider
* Cleanup
* Skip records if DataSource provider is set
* Load providers on project load
* Type keymap events
* Move modal events
* Move layer events
* Move RTE events
* Move selector events
* Move StyleManager events
* Move editor events
* Start DataSource callbacks
* Add data source callbacks
* Update docs
* Up device_manager jsdoc
* Format
11 months ago
mohamed yahia
fe88fc88a3
Pages datasources ( #6601 )
* Add tests for component wrapper
* Refactor component data collection
* Add data resolver to wrapper component
* Fix types
* Add collection data source to page
* refactor get and set DataResolver to componentWrapper
* Rename key to __rootData
* add resolverCurrentItem
* Make _resolverCurrentItem private
* update ComponentWrapper tests
* Fix componentWithCollectionsState
* remove collectionsStateMap from Page
* update component wrapper tests
* fix component wrapper tests
* return a copy of records for DataSource.getPath
* Move all collection listeners to component with collection state
* fix style sync in collection items
* fix loop issue
* update data collection tests
* cleanup
* update collection statemap on wrapper change
* Add object test data for wrapper data resolver
* cleanup
* up unit test
* remove duplicated code
* cleanup event path
* update test data to better names
* improve component data collection performance
* cleanup tests and types
* fix performance issue for the new wrapper datasource
* Undo updating component with datacolection tests
* apply comments
* Skip same path update
---------
Co-authored-by: Artur Arseniev <artur.catch@hotmail.it>
11 months ago
Artur Arseniev
bbccd9496a
Improve resetFromString by adding option to skip view updates ( #6617 )
12 months ago