Make WordPress Core

Ticket #52128: 52128.diff

File 52128.diff, 667 bytes (added by audrasjb, 3 years ago)

Typo correction in base.js file doc block

  • src/js/_enqueues/wp/editor/base.js

    diff --git a/src/js/_enqueues/wp/editor/base.js b/src/js/_enqueues/wp/editor/base.js
    index aa9948ebd6..5fc41f5998 100644
    a b window.wp = window.wp || {}; 
    371371                 * Using DomQuery syntax to create it, since it's used as both text and as a DOM element.
    372372                 *
    373373                 * @param {Object} domLib DOM library instance.
    374                  * @param {string} content The content to insert into the cusror marker element.
     374                 * @param {string} content The content to insert into the cursor marker element.
    375375                 */
    376376                function getCursorMarkerSpan( domLib, content ) {
    377377                        return domLib( '<span>' ).css( {