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

Yoast / wordpress-seo / e710396b66be7c657f84652fbb9cf9bb4cca44fa

13 May 2026 02:05PM UTC coverage: 34.299%. First build
e710396b66be7c657f84652fbb9cf9bb4cca44fa

Pull #23267

github

web-flow
Merge 54fb45963 into b17f347fb
Pull Request #23267: feat: restore EditorIntro section in classic and Elementor editors

3225 of 10507 branches covered (30.69%)

Branch coverage included in aggregate %.

0 of 4 new or added lines in 1 file covered. (0.0%)

6124 of 16750 relevant lines covered (36.56%)

9.1 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 {string} props.children The children to render inside the component.
9
 * @returns {JSX.Element} The editor introduction component.
10
 */
NEW
11
export const EditorIntro = ( { children } ) => {
×
NEW
12
        return <div className="yst-p-4 yst-flex yst-flex-col yst-gap-3">
×
13
                <Yoast className="yst-w-14 yst-text-primary-500" />
14
                { children }
15
        </div>;
16
};
17

18
/**
19
 * Editor intro text.
20
 *
21
 * @param {Object} props The component props.
22
 * @param {boolean} props.withPromptForContentSuggestions Whether to show the prompt for content suggestions.
23
 * @param {string} props.className Additional class names to apply to the component.
24
 * @returns {JSX.Element} The editor introduction text component.
25
 */
NEW
26
export const EditorIntroText = ( { withPromptForContentSuggestions, className } ) => {
×
NEW
27
        return <p className={ classNames( "yst-text-slate-600 yst-my-0", className ) }>
×
28
                { withPromptForContentSuggestions ? __( "Optimize your content for discovery or get new content suggestions.", "wordpress-seo" )
×
29
                        : __( "Optimize your content for discovery.", "wordpress-seo" ) }
30
        </p>;
31
};
32

33

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