• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Yoast / wordpress-seo / df688fa2632afc948072e05a911ef32cd0b0545e

24 Mar 2026 02:38PM UTC coverage: 56.61% (-0.08%) from 56.687%
df688fa2632afc948072e05a911ef32cd0b0545e

push

github

web-flow
Merge pull request #23074 from Yoast/1105-next-post-create-cta-inline-banner-and-approve-modal

1105 next post create cta inline banner and approve modal

9061 of 16674 branches covered (54.34%)

Branch coverage included in aggregate %.

30 of 83 new or added lines in 14 files covered. (36.14%)

1 existing line in 1 file now uncovered.

15274 of 26313 relevant lines covered (58.05%)

114314.42 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/packages/js/src/components/EditorIntro.js
1
import { ReactComponent as Yoast } from "../../images/yoast.svg";
2
import { __ } from "@wordpress/i18n";
3

4
/**
5
 * The introduction component for the editor.
6
 *
7
 * @param {Object} props The component props.
8
 * @param {boolean} props.withPromptForContentSuggestions Whether to show the prompt for content suggestions.
9
 * @param {string} props.children The children to render inside the component.
10
 * @returns {JSX.Element} The editor introduction component.
11
 */
NEW
12
export const EditorIntro = ( { withPromptForContentSuggestions, children } ) => {
×
NEW
13
        return <div className="yst-px-4 yst-pt-4">
×
14
                <Yoast className="yst-w-14" />
15
                { children }
16
                <p className="yst-text-slate-600 yst-mb-0 yst-mt-3">
17
                        { withPromptForContentSuggestions ? __( "Optimize your content for discovery or get new content suggestions.", "wordpress-seo" )
×
18
                                : __( "Optimize your content for discovery.", "wordpress-seo" ) }
19
                </p>
20
        </div>;
21
};
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc