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
Artur Arseniev
753b1731fd
Release GrapesJS core latest: v0.22.13 ( #6611 )
1 year ago
Artur Arseniev
26d14708bc
Improve reset from string ( #6607 )
* Update resetFromString with new options
* Fix updateClasses in ComponentView
1 year ago
nanto_vi, TOYAMA Nao
3b1b9faaa6
Escape ampersand, less-than, and greater-than in attribute value ( #6604 )
1 year 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
1 year ago
mohamed yahia
6089fc756c
Add `check` script ( `lint && format:check && ts:check` ) ( #6599 )
Add a single script for checking grapesjs
1 year ago
mohamed yahia
45659ece43
Data Binding Fixes ( #6565 )
* Fix saving dynamic values for cssRules
* Allow using collectionStateMap for styleable models
* Fix bug with undo manager
* refactor resolverWatcher
* Allow CssRules to use collection variable
* Fix undoManager issue for binding data to a component
* update returned value for adding props
* Revert a change to fix tests
* move test files
* Add tests for undomanager with datasources
* update clone and toJSON for cssRule
* Refactor Model data resolver
* update test setup function
* Refactor datasources logic to styleable model
* Add clone and update toJSON in styleableModel
* Refactor CssRule to use styleableModel methods
* Add undomanager to datasources
* refactor component class to use styleableModel methods
* update unit tests for undo manager
* Refactor data resolver watcher
* Fix undoManager in test enviroment
* Remove destroy test editor
* Update Data resolver watchers
* Remove setTimeout from undo manager unit tests
* Fix Selection tracking tests
* Fix missing id in `component.toJSON()`
* Fix styles as string for cssRules
* Fix CssRule type
* Add string style support for ModelResolver.getProps()
* Cleanup ( rename dynamic to data resolver )
* Use fake timers in undo manager tests
* Remove checking duplicated object in undomanager registry
* Fix typescript checks
* Fix lint
1 year ago
markdanial
aa77f72964
Update Contributing link in README.md ( #6579 )
Changes from master to dev in url of contributing doc
1 year ago
Artur Arseniev
1c8506eb7b
Improve TS for custom file upload option ( #6578 )
Fix D&D file upload TS
1 year ago
nanto_vi, TOYAMA Nao
f64c4c1557
Add document for parameters of `Parser.parseHtml` ( #6576 )
1 year ago
Artur Arseniev
ce827c2075
Release GrapesJS core latest: v0.22.12 ( #6575 )
1 year ago
Artur Arseniev
1555cf0957
Fix release pointer cancel in resizer ( #6574 )
* Fix release pointer cancellation
* Ensure strings in assets src
1 year ago
nanto_vi, TOYAMA Nao
a94cf2526b
Fix parser to take account of `parser.optionsHtml.keepEmptyTextNodes` option ( #6571 )
* Fix parser to take account of `configParser.optionsHtml.keepEmptyTextNodes`
* Delete unused `editorConfig.keepEmptyTextNodes`
1 year ago
Artur Arseniev
95a7b9394b
Release GrapesJS core latest: v0.22.11 ( #6569 )
1 year ago
Artur Arseniev
b3e61df0e3
Fix resize for percentages ( #6568 )
1 year ago
Artur Arseniev
e13f3c1f4c
Release GrapesJS core latest: v0.22.10 ( #6567 )
1 year ago
Artur Arseniev
ac76e199c4
Enhance component resize ( #6566 )
* Move resize options from SelectComponent to Resize command
* Add updateStyle
* Add convertPxToUnit
* Add convertPxToUnit to options
* Use pointer capture
* Cleanup
* TS fixes
1 year ago
mohamed yahia
a0022dad5c
Fix layer visibility toggle ( #6564 )
* Fix issue on toggling layer view
* Update tests for moving inline styles from components to css rules
* update style data variable tests
1 year ago
Artur Arseniev
b0537b703d
Release GrapesJS core latest: v0.22.9 ( #6557 )
1 year ago
Artur Arseniev
b7b1ad11fb
Update activate ( #6556 )
* Update activate
* Add __clearAttributes to ComponentView
1 year ago