https://github.com/wordpress-mobile/block-editor-assets-endpoint
https://github.com/wordpress-mobile/block-editor-assets-endpoint
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wordpress-mobile/block-editor-assets-endpoint
- Owner: wordpress-mobile
- Created: 2024-07-19T12:44:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-05T02:24:55.000Z (12 months ago)
- Last Synced: 2025-03-10T07:37:08.007Z (12 months ago)
- Language: PHP
- Size: 2.25 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# block-editor-assets-endpoint
An exploration defining a new WordPress REST API endpoint returning all block editor assets needed for a block editor embedded within the mobile app. The approach is based on the [`_gutenberg_get_iframed_editor_assets_6_4`](https://github.com/WordPress/gutenberg/blob/ae20515b20d9c9e31408c4aecaffb3991c0fe31a/lib/compat/wordpress-6.4/script-loader.php#L8-L103) utility, but extended to include all assets used by the block editor.