SmartIT_Extensions/BMC/smart-it-full-helix/scripts/ckeditor/config.js

27 lines
1.1 KiB
JavaScript

/**
* @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
config.simpleuploads_imageExtensions = "jpe?g|gif|png|tif?f|bmp";
//To show umlaut characters as it is in source code and avoid converting into valid html entities.
//http://stackoverflow.com/questions/9507250/ckeditor-how-to-i-convert-all-html-entities
config.entities_latin = false;
/*
Changing the Enter Mode setting to BR or DIV is not recommended.
The default CKEDITOR.ENTER_P mode is fully supported by all editor features and
plugins and is also the most correct one in terms of best practices for creating web content.
https://ckeditor.com/docs/ckeditor4/latest/features/enterkey.html
Below config commented to fix #SW00567191
*/
//config.enterMode = CKEDITOR.ENTER_BR;
config.filebrowserUploadMethod = 'form';
};