src/inlineeditor.js
Function create
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static create( sourceElementOrData, config = {} ) {
return new Promise( resolve => {
const isHTMLElement = isElement( sourceElementOrData );
if ( isHTMLElement && sourceElementOrData.tagName === 'TEXTAREA' ) {