ckeditor/ckeditor5-core

View on GitHub
src/editor/utils/attachtoform.js

Summary

Maintainability
A
1 hr
Test Coverage

Function attachToForm has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function attachToForm( editor ) {
    if ( !isFunction( editor.updateSourceElement ) ) {
        /**
         * The editor passed to `attachToForm()` must implement the
         * {@link module:core/editor/utils/elementapimixin~ElementApi} interface.
Severity: Minor
Found in src/editor/utils/attachtoform.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status