Artur Arseniev
491a663231
Up blocks TS ( #4685 )
* Move to TS blockManager config
* Move Block to TS
* Update block config
* Up block
* Move Category to TS
* Up Block TS
* Move Blocks to TS
* Move Categories to TS
* Move BlockView to TS
* Move CategoryView to TS
* Move BlocksView to TS
* Remove unused className
* Move BlockManager to TS
* Clean blockManager
* Fix default blocks
* Up blocks for docs
4 years ago
Artur Arseniev
08ef65e571
Up tests
4 years ago
Artur Arseniev
1554ef2b28
Fix conflicts
4 years ago
Ian Leue
e0963ebd73
Some typescript updates ( #4678 )
4 years ago
Artur Arseniev
4b1bd3b71f
Update ComponentTextNode escape
4 years ago
Artur Arseniev
e2a8b8b47d
Update icons box-sizing in Layers. Closes #4608
4 years ago
Artur Arseniev
39073f0fa7
Update preview command
4 years ago
Artur Arseniev
3e4437152d
Up Fullscreen
4 years ago
Artur Arseniev
16d44e8d4d
Merge branch 'dev' of https://github.com/artf/grapesjs into dev
4 years ago
Jeff Wilkerson
c9465882eb
FIX: page.select/remove function signature in Type Definitions ( #4628 )
* Update TS: ButtonOptions
* Update TS: Page.select function params
* Update TS: Page.remove function params
4 years ago
Artur Arseniev
e2fa54bf5e
Up TS
4 years ago
Artur Arseniev
39d6ec010f
Update TratView
4 years ago
Artur Arseniev
112b9e3eb2
Merge branch 'dev' of https://github.com/artf/grapesjs into dev
4 years ago
Jeff Wilkerson
12bf391a54
Update TS: ButtonOptions ( #4615 )
4 years ago
Artur Arseniev
bff1360575
Up TS
4 years ago
Jamie Stivala
0372f559bc
Typings: Added editor parameter to onStore ( #4605 )
* Typings: Added editor parameter to onStore
Added an optional parameter to onStore in the storage manager. This is in accordance with the common use case (https://grapesjs.com/docs/modules/Storage.html#common-use-cases ) - HTML code with project data
* Typings: OnStore editor non-optional
* Propagated editor to onStore in Remote Storage
4 years ago
Artur Arseniev
10ec5890cb
Migrate Asset Manager to TS ( #4604 )
* Update assets config
* Update index TS
* Up TS
* Init TS update for assets index
* Move assets models to TS
* Update AssetView
* Update AssetImageView
* Update AssetsView
* Update FileUploaderView
* Update FileUploader
* Fix asset tests
* Use data-input attribute for events in FileUploader
* Up
* Update JSDoc config link
* Up docs
4 years ago
Artur Arseniev
bd331d9d83
Up TS add command
4 years ago
Artur Arseniev
143414408e
Update for docs
4 years ago
Artur Arseniev
e64a70ae6a
Build
4 years ago
Artur Arseniev
e57a30ce9c
Remove console from tests
4 years ago
Artur Arseniev
bdd16e396d
Update TS
4 years ago
Artur Arseniev
7701801f76
Use `mousePosFetcher` also on `start` in Resizer. Closes #4580
4 years ago
Artur Arseniev
d94a0ce783
Add `el` prop to `onEnd` arguments in Resizer. Closes #4579
4 years ago
Artur Arseniev
237cc28f1b
Add custom to AssetManagerConfig. Closes #4575
4 years ago
Artur Arseniev
5a06e57a59
Update Store & load data section Getting Started guide
4 years ago
Artur Arseniev
270d196495
Add BlockCategoryOptions
4 years ago
Artur Arseniev
808a499057
Update AddComponentOptions
4 years ago
Artur Arseniev
38ab2cfc07
Up tests
4 years ago
Artur Arseniev
6701cb0fb0
Remove comparator from Devices
4 years ago
Artur Arseniev
1da873912e
Merge branch 'dev' of https://github.com/artf/grapesjs into dev
4 years ago
Iagor Moraes
0af8ee85c5
Add correct mobile first sort on CSS rules view ( #4521 ). Closes #2774
fix: add correct mobile first sort on css rules view
4 years ago
Artur Arseniev
018118970a
Up
4 years ago
Artur Arseniev
803db647a4
Add pageManager config to TS
4 years ago
Artur Arseniev
fa64dce631
Fix Configuration Object link in Editor API
4 years ago
Artur Arseniev
d0b8d417c0
Update Components.resetFromString to avoid removing cloned elements.
4 years ago
Artur Arseniev
e9c4bc9568
Honor the config.optsHtml option in HTMLGenerator
4 years ago
Artur Arseniev
a6c859d77d
Up traits ts
4 years ago
Salem Mohammed Shamakh
b3609cdd3b
Correct type traits to support a list of string and object ( #4536 )
Update index.d.ts
4 years ago
Artur Arseniev
135dcdd644
Ensure to always update the layer name. Fixes #4544
4 years ago
Artur Arseniev
087b6eef55
Merge branch 'dev' of https://github.com/artf/grapesjs into dev
4 years ago
Abdelrahman Hamdy Metwaly
403ca0b8e0
Add Arabic (ar) language Support ( #4535 )
Add Arabic (ar) language
4 years ago
Artur Arseniev
4eaa8c53a4
Update TS
4 years ago
Artur Arseniev
1ce31aee75
TS updates
4 years ago
Artur Arseniev
d266ddb14a
Update component traits TS
4 years ago
Artur Arseniev
e27e8ad169
Merge branch 'dev' of https://github.com/artf/grapesjs into dev
4 years ago
Collins Lagat
d3abac15ef
Fix: `"TypeError: this.parseStyle is not a function"` when `setStyles` is called internally (bug introduced in GrapesJS v19.5) ( #4520 )
* wrap `ParserHtml().parseStyle` around a class method
currently when the model is extended via the `.extend` method, the `parseStyle`
property is "hoisted" from the parent to the child. ideally, it should
be be located on the parent which is the `prototype` of the child. the
consequence of this is that when you run:
`Object.hasOwnProperty.call(child, 'parseStyle')`, you get `true`.
this is problematic as `parseStyle` is required by `setStyle` of
`Dom_Components::Model::Component` which expects `parseStyle` to exist
on its prototype (`StyleableModel`). But `parseStyle` is "hoisted" to be the property
of any component that extends `Dom_Components::Model::Component`, thus, `this.parseStyle` will always be
`undefined` when its called by any method that exists in objects that
are lower in the prototypal
chain than the topmost object (where `parseStyle` is defined).
If `setStyle` is called further down the prototypal chain, it throws the
following error: `"this.parseStyle is not a function"`
* fix: prevent requesting a new parser on each parse
4 years ago
Artur Arseniev
73eec39c6d
Add name to the default wrap RTE command
4 years ago
Artur Arseniev
8fac0b45be
Merge branch 'dev' of https://github.com/artf/grapesjs into dev
4 years ago
tyutony
62fe8d6073
Fix wrong describe type on EditorConfig dragMode ( #4505 )
config dragMode describe would be 'translate' | 'absolute' and not boolean.
it cause wrong alert when use typescript.
Co-authored-by: Artur Arseniev <artur.catch@hotmail.it>
4 years ago