| 1 |
Components & Control Last Updated: 04-04-2022 |
| 2 |
|
| 3 |
=== How to update the spectra/ultimate-addon-for-gutenebrg components and controls in CartFlows === |
| 4 |
|
| 5 |
CartFlows has the Gutenberg blocks and it uses the Spectra's components to render the CartFlows blocks settings. |
| 6 |
See the CartFlows > modules > gutenebrg > src > components |
| 7 |
See the CartFlows > modules > gutenebrg > src > control |
| 8 |
See the CartFlows > modules > gutenebrg > src > styles |
| 9 |
These are are the folders need to be update in the CartFlows. |
| 10 |
|
| 11 |
Below are the steps to update the spectra/ultimate-addon-for-gutenebrg components and controls in CartFlows. |
| 12 |
|
| 13 |
1. Get the latest version of the components and controls from https://github.com/brainstormforce/ultimate-addons-for-gutenberg |
| 14 |
|
| 15 |
Components => ultimate-addons-for-gutenberg/src/components |
| 16 |
Controls => ultimate-addons-for-gutenberg/blocks-config/uagb-controls |
| 17 |
Styles => ultimate-addons-for-gutenberg/src/styles |
| 18 |
|
| 19 |
Also make sure that, copy the content of common-editor.scss from ultimate-addons-for-gutenberg/src/common-editor.scss and paste it in editor.scss of CartFlows |
| 20 |
|
| 21 |
2. Copy the components folder from the Spectra to the CartFlows > modules > gutenebrg > src > components |
| 22 |
3. Copy the uagb-controls files ( except getBlocksDefaultAttributes.js ) from the Spectra to the CartFlows > modules > gutenebrg > src > control |
| 23 |
6. Done |
| 24 |
|
| 25 |
|