artirix/browsercms

View on GitHub
app/assets/javascripts/ckeditor/plugins/delete_content/plugin.js

Summary

Maintainability
A
1 hr
Test Coverage

Function init has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    init:function (editor) {
        editor.ui.addButton('DeleteContent', {
            label:'Remove this content from the page (It will remain in Content Library)',
            command:'deleteContent',
            toolbar:'tools'
Severity: Minor
Found in app/assets/javascripts/ckeditor/plugins/delete_content/plugin.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status