Artur Arseniev
ba53f162f6
Up TS
4 months ago
Artur Arseniev
b43f3120be
Update old plugin manager tests
4 months ago
Artur Arseniev
994cebfd71
Update findType
4 months ago
Artur Arseniev
e2c21df182
Add ComponentMatcher to find methods
4 months ago
Artur Arseniev
7085dd01ed
Update findGlobalPluginId
4 months ago
Artur Arseniev
feca86117e
Cleanups
4 months ago
Artur Arseniev
d5fb443b60
Cleanup tracking
4 months ago
Artur Arseniev
bc84e307c0
Clean up exports
4 months ago
Artur Arseniev
609079eab9
Setup new local plugin manager
4 months 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
4 months 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
4 months 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
4 months ago
Artur Arseniev
cf8257ad6f
Release GrapesJS core latest: v0.22.16 ( #6756 )
5 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
5 months ago
Artur Arseniev
6e8e70642f
Release GrapesJS core rc: v0.22.16-rc.0 ( #6752 )
5 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
5 months ago
Artur Arseniev
8efa47ea76
Fix matches in sorter ( #6750 )
* Cleanup old matches usage
* Avoid crashes on matches. Fixes #6748
5 months ago
Artur Arseniev
65a128d710
Release GrapesJS core latest: v0.22.15 ( #6745 )
6 months ago
Artur Arseniev
0fb9650d4e
Allow dynamic boxRect for CanvasSpot ( #6744 )
* Allow dynamic boxRect for CanvasSpot
* Switch to ORG_NPM_TOKEN
6 months ago
Artur Arseniev
b1b00ab4dc
Add allowEmpty to getCss ( #6742 )
6 months ago
Artur Arseniev
054fd9354d
Add convertAttributeValues to allow parsing HTML attributes values ( #6741 )
6 months ago
Artur Arseniev
cf79f603e6
Fix border radius order ( #6740 )
* Swap border radius properties order
* Update border radius CSS
6 months ago
Artur Arseniev
3678fe129e
Fix Youtube videos with strict-origin-when-cross-origin ( #6739 )
6 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
6 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
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
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 )
8 months ago
Artur Arseniev
8b172f0338
Ensure document is defined during hasFocus ( #6711 )
Ensure document is defined during hasFocus. Fixes #6707 .
8 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
8 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
10 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
10 months ago
Artur Arseniev
6c3f0ab0f4
Add keepAttributeIdsCrossPages option
10 months ago
Artur Arseniev
8cf995e4d5
Update resolveCollectionVariable ( #6670 )
10 months ago
IhorKaleniuk666
b0509c90ca
add test with page ID
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 )
11 months ago
Artur Arseniev
f59e981f76
Align component wrapper resolver with collections ( #6653 )
11 months ago
Artur Arseniev
61ebd6c50a
Release GrapesJS core rc: v0.22.14-rc.3 ( #6650 )
11 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
11 months ago