Skip to content

Commit 5192ff9

Browse files
committed
Revert "Remove jQuery from param type"
The wp.codeEditor.initialize() function is currently passed a jQuery object in core. This reverts commit 9338964.
1 parent b4c8cd8 commit 5192ff9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/js/_enqueues/wp/code-editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ if ( 'undefined' === typeof window.wp.codeEditor ) {
406406
*
407407
* @since 4.9.0
408408
*
409-
* @param {string|Element} textarea - The HTML id, jQuery object, or DOM Element for the textarea that is used for the editor.
409+
* @param {string|jQuery|Element} textarea - The HTML id, jQuery object, or DOM Element for the textarea that is used for the editor.
410410
* @param {CodeEditorSettings} [settings] - Settings to override defaults.
411411
*
412412
* @return {CodeEditorInstance} Instance.

0 commit comments

Comments
 (0)