Opetushallitus/eperusteet-frontend-utils

View on GitHub
components/ckeditor/ckeditor.ts

Summary

Maintainability
C
1 day
Test Coverage

Function link has 212 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        link: (scope: any, element, attrs, ctrl) => {
            let placeholderText = null;
            let editingEnabled = (scope.editMode || "true") === "true";
            let inlineEditor: boolean = true;

Severity: Major
Found in components/ckeditor/ckeditor.ts - About 1 day to fix

    File ckeditor.ts has 326 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    angular.module("app")
    .run(() => {
        CKEDITOR.disableAutoInline = true;
    })
    .constant("editorLayouts", {
    Severity: Minor
    Found in components/ckeditor/ckeditor.ts - About 3 hrs to fix

      There are no issues that match your filters.

      Category
      Status