Artur Arseniev
f839927de2
Add callback types to traits
1 month ago
Artur Arseniev
cc47a01865
Add callback types to StyleManager
1 month ago
Artur Arseniev
6ec90d3193
Add callback types for storage
1 month ago
Artur Arseniev
0492088423
Add callback types to selectors
1 month ago
Artur Arseniev
257a2bfcaf
Add callback type to RTE
1 month ago
Artur Arseniev
2325d7513c
Add callback types to parser
1 month ago
Artur Arseniev
99ace75b10
Add callback types for pages
1 month ago
Artur Arseniev
0cd7386a95
Add callback types to layers
1 month ago
Artur Arseniev
7a8e1029a4
Add callback types to modal
1 month ago
Artur Arseniev
27b913fce4
Add callbacks types to keymaps
1 month ago
Artur Arseniev
8029fb1209
Add callback events to i18n
1 month ago
Artur Arseniev
f1a42c72ce
Type device event callbacks
1 month ago
Artur Arseniev
4a56a83e63
Type commands event callbacks
1 month ago
Artur Arseniev
5940a01e49
Type canvas events
1 month ago
Artur Arseniev
403a38debf
Allow skipping nodes during HTML parsing
3 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
3 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
3 months ago
Artur Arseniev
4c81bad872
Merge branch 'IhorKaleniuk666-fix/id-conflict' into dev
4 months ago
Artur Arseniev
6c3f0ab0f4
Add keepAttributeIdsCrossPages option
4 months ago
Artur Arseniev
6ec4ebfeb8
Merge branch 'fix/id-conflict' of https://github.com/IhorKaleniuk666/grapesjs into IhorKaleniuk666-fix/id-conflict
4 months ago
Artur Arseniev
8cf995e4d5
Update resolveCollectionVariable ( #6670 )
4 months ago
IhorKaleniuk666
b0509c90ca
add test with page ID
4 months ago
Kaleniuk
eacdb6bbfa
Merge branch 'dev' of github.newgen:IhorKaleniuk666/grapesjs into fix/id-conflict
4 months ago
Artur Arseniev
9e065b1b3b
Release GrapesJS docs: v0.22.7 ( #6665 )
4 months ago
Artur Arseniev
2f43b5cfb4
Up wrapper api collections ( #6664 )
* Add getCollectionsState to ComponentWrapper
* Add DataFieldPrimitiveType to DataSourceManager module
4 months ago
IhorKaleniuk666
8e742f19aa
update fix
4 months ago
IhorKaleniuk666
d56ba64cad
revert test
4 months ago
Kaleniuk
949ee84e52
fix
4 months ago
Kaleniuk
7656631117
update
4 months ago
Kaleniuk
f1f021173d
remove comments
4 months ago
Kaleniuk
03c1fb8e56
Fix ID conflict between pages in GrapesJS
4 months ago
Artur Arseniev
fdb55d6111
Release GrapesJS core latest: v0.22.14 ( #6656 )
4 months ago
Artur Arseniev
f59e981f76
Align component wrapper resolver with collections ( #6653 )
4 months ago
Artur Arseniev
61ebd6c50a
Release GrapesJS core rc: v0.22.14-rc.3 ( #6650 )
4 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
4 months ago
David Harvey
0c33465fb3
Support `attributes` option alongside `cleanId` for `toHTML` operations ( #6642 )
* Support `attributes` option alongside `cleanId` for `toHTML` operations
* whoops
4 months ago
markdanial
6d9746911b
GRA-164: adds sitemap as build step to grapesjs ( #6647 )
Co-authored-by: Mark Danial <mark@grapesjs.com>
4 months ago
Artur Arseniev
ecb8ae66f5
Release GrapesJS core rc: v0.22.14-rc.2 ( #6644 )
4 months ago
Artur Arseniev
6a4780370a
Add getDataResolver to ComponentWithCollectionsState ( #6643 )
4 months ago
Artur Arseniev
3ffa51c2b1
Release GrapesJS core rc: v0.22.14-rc.1 ( #6639 )
5 months ago
Artur Arseniev
c7fdedb429
Fix component content reset with duplicated ids ( #6638 )
5 months ago
Artur Arseniev
2324273dd1
Release GrapesJS core rc: v0.22.14-rc.0 ( #6636 )
5 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>
5 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
5 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>
6 months ago
Artur Arseniev
bbccd9496a
Improve resetFromString by adding option to skip view updates ( #6617 )
6 months ago
Artur Arseniev
753b1731fd
Release GrapesJS core latest: v0.22.13 ( #6611 )
6 months ago
Artur Arseniev
26d14708bc
Improve reset from string ( #6607 )
* Update resetFromString with new options
* Fix updateClasses in ComponentView
6 months ago
nanto_vi, TOYAMA Nao
3b1b9faaa6
Escape ampersand, less-than, and greater-than in attribute value ( #6604 )
6 months ago
mohamed yahia
3b97b7a043
[ #6587 ]: Fix infinite text nodes on dragging into a symbol ( #6600 )
* [#6587 ]: Fix infinite text nodes on dragging into a symbol
* Fix race condition during storing project data
* Update bug fix
7 months ago