How to make CkEditor Nation Notes Editor Wider

By editing /var/www/localhost/htdocs/openemr/library/js/nncustom_config.js I have succeeded in making the CkEditor window taller but not wider (See below Image).

This is my current nncustom_config.js

// https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html

CKEDITOR.editorConfig = function (config) {
    // config.language = 'fr';
    // config.uiColor = '#AADC6E';
    config.toolbarCanCollapse = true;
    config.toolbar = 'NNToolbar';

    config.shiftEnterMode = CKEDITOR.ENTER_P;
    config.enterMode = CKEDITOR.ENTER_BR;
    config.height = 800;  // Make editor take up more of the window by default
    config.scayt_autoStartup = true; // Enable spell check by default
    config.versionCheck = false; // Remove red warning box that opens on every edit
    // config.clipboard_defaultContentType = 'html' // Didn't notice any help copying from word
    // config.dialog_startupFocusTab = true; // Didn't allow for immediate typing after opening NN field
    // config.editorplaceholder = "Let's help these kids!"; // Didn't make any visible placeholder on new open
    config.startupFocus = true; // Allow for immediate typing after opening NN field
    // config.resize_dir = 'both'; // Only modifies width of editor within window, not width of original window
    // config.width = 800; // Only modifies width of editor within window, not width of original window

    config.toolbar_NNToolbar =
        [
            ['Source', 'Templates'],
            ['Cut', 'Copy', 'Paste', 'SpellChecker', '-', 'Scayt'],
            ['Undo', 'Redo', '-', 'Find', 'Replace'],
            ['Image', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'],
            ['Bold', 'Italic', 'Underline', 'Strike', '-', 'Subscript', 'Superscript'],
            ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote', 'SelectAll', 'RemoveFormat'],
            ['Styles', 'Format', 'Font', 'FontSize'],
            ['TextColor', 'BGColor']
        ];

    // config.toolbarStartupExpanded = false;
};

Is there a known way to do this?

OpenEMR Version
7.0.2 Patch 1

Browser:
I’m using: FireFox

Any and all assistance is greatly appreciated!

1 Like

@Goddard i also need this feature… @sjpadgett will make it happen i am very sure :slight_smile:
Mayve for clinical notes also if ckeditor can be added it would be great.

1 Like

I had tried to add ckeditor for clinical notes, all worked fine, except it didnt save.

1 Like