ckeditor/ckeditor5-editor-inline

View on GitHub

Showing 1 of 1 total issue

Function create has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    static create( sourceElementOrData, config = {} ) {
        return new Promise( resolve => {
            const isHTMLElement = isElement( sourceElementOrData );

            if ( isHTMLElement && sourceElementOrData.tagName === 'TEXTAREA' ) {
Severity: Minor
Found in src/inlineeditor.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language