disable-blocks.js
1 year ago
editor.scss
1 year ago
global-max-width.js
1 year ago
index.js
1 year ago
stores.js
1 year ago
style-html-attribute.js
1 year ago
toolbar-appenders.js
1 year ago
index.js
15 lines
| 1 | import wpDomReady from '@wordpress/dom-ready'; |
| 2 | |
| 3 | import './stores.js'; |
| 4 | import './disable-blocks.js'; |
| 5 | import './toolbar-appenders.js'; |
| 6 | import './global-max-width.js'; |
| 7 | import './style-html-attribute.js'; |
| 8 | import './editor.scss'; |
| 9 | |
| 10 | wpDomReady( () => { |
| 11 | const searchParam = new URLSearchParams( window.location.search ); |
| 12 | searchParam.delete( 'gb-styles-search' ); |
| 13 | window.history.replaceState( null, '', `${ window.location.pathname }?${ searchParam.toString() }` ); |
| 14 | } ); |
| 15 |