Make WordPress Core

Ticket #52128: editor.diff

File editor.diff, 616 bytes (added by voboghure, 3 years ago)
  • wp-admin/js/editor.js

     
    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( {