blocks
2 days ago
build
2 days ago
content-guidelines-ai
2 days ago
fonts
1 year ago
genericons
4 months ago
lib
2 days ago
accessible-focus.js
5 years ago
blogging-prompts.php
1 week ago
class.jetpack-provision.php
7 months ago
content-guidelines-ai.js
1 week ago
content-guidelines-ai.php
1 week ago
crowdsignal-shortcode.js
1 year ago
crowdsignal-survey.js
5 years ago
deprecate.js
7 months ago
facebook-embed.js
4 years ago
gallery-settings.js
5 years ago
genericons.php
1 year ago
jetpack-admin.js
3 years ago
jetpack-deactivate-dialog.js
1 year ago
jetpack-modules.js
1 year ago
jetpack-modules.models.js
7 months ago
jetpack-modules.views.js
7 months ago
polldaddy-shortcode.js
3 months ago
site-switcher-endpoint.php
5 months ago
site-switcher.js
5 months ago
site-switcher.php
5 months ago
social-logos.php
3 months ago
twitter-timeline.js
1 month ago
content-guidelines-ai.js
17 lines
| 1 | /** |
| 2 | * Content Guidelines AI — Entry point. |
| 3 | * |
| 4 | * Injects Jetpack AI-powered generate/improve buttons into the |
| 5 | * Content Guidelines admin page (Gutenberg experimental feature). |
| 6 | */ |
| 7 | import '@automattic/jetpack-shared-extension-utils/store/wordpress-com'; |
| 8 | import './content-guidelines-ai/store'; |
| 9 | import './content-guidelines-ai/style.scss'; |
| 10 | import { startInjection } from './content-guidelines-ai/lib/inject'; |
| 11 | |
| 12 | if ( document.readyState === 'loading' ) { |
| 13 | document.addEventListener( 'DOMContentLoaded', startInjection ); |
| 14 | } else { |
| 15 | startInjection(); |
| 16 | } |
| 17 |