wp_enqueue_block_editor_script_modules()

In this article

Enqueues script modules required by the block editor.

Source

function wp_enqueue_block_editor_script_modules() {
	/*
	 * Enqueue the LaTeX to MathML loader for the math block editor.
	 * The loader dynamically imports the main LaTeX to MathML module when needed.
	 */
	wp_enqueue_script_module( '@wordpress/latex-to-mathml/loader' );
}

Changelog

VersionDescription
6.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.