ckeditor/ckeditor5-engine

View on GitHub
src/model/utils/getselectedcontent.js

Summary

Maintainability
A
1 hr
Test Coverage

Function getSelectedContent has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function getSelectedContent( model, selection ) {
    return model.change( writer => {
        const frag = writer.createDocumentFragment();
        const range = selection.getFirstRange();

Severity: Minor
Found in src/model/utils/getselectedcontent.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status