/** * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.config} object that stores the * default configuration settings. */ /** * Used in conjunction with {@link CKEDITOR.config#enterMode} * and {@link CKEDITOR.config#shiftEnterMode} configuration * settings to make the editor produce `

` tags when * using the *Enter* key. * * @readonly * @property {Number} [=1] * @member CKEDITOR */ CKEDITOR.ENTER_P = 1; /** * Used in conjunction with {@link CKEDITOR.config#enterMode} * and {@link CKEDITOR.config#shiftEnterMode} configuration * settings to make the editor produce `
` tags when * using the *Enter* key. * * @readonly * @property {Number} [=2] * @member CKEDITOR */ CKEDITOR.ENTER_BR = 2; /** * Used in conjunction with {@link CKEDITOR.config#enterMode} * and {@link CKEDITOR.config#shiftEnterMode} configuration * settings to make the editor produce `

` tags when * using the *Enter* key. * * @readonly * @property {Number} [=3] * @member CKEDITOR */ CKEDITOR.ENTER_DIV = 3; /** * Stores default configuration settings. Changes to this object are * reflected in all editor instances, if not specified otherwise for a particular * instance. * * @class * @singleton */ CKEDITOR.config = { /** * The URL path for the custom configuration file to be loaded. If not * overloaded with inline configuration, it defaults to the `config.js` * file present in the root of the CKEditor installation directory. * * CKEditor will recursively load custom configuration files defined inside * other custom configuration files. * * // Load a specific configuration file. * CKEDITOR.replace( 'myfield', { customConfig: '/myconfig.js' } ); * * // Do not load any custom configuration file. * CKEDITOR.replace( 'myfield', { customConfig: '' } ); * * @cfg {String} [="/config.js"] */ customConfig: 'config.js', /** * Whether the replaced element (usually a `