/** * @license Copyright (c) 2003-2017, 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 the {@link CKEDITOR.config#enterMode} * and {@link CKEDITOR.config#shiftEnterMode} configuration * settings to make the editor produce `

` tags when * using the Enter key. * * Read more in the [documentation](#!/guide/dev_enterkey) and see the * [SDK sample](http://sdk.ckeditor.com/samples/enterkey.html). * * @readonly * @property {Number} [=1] * @member CKEDITOR */ CKEDITOR.ENTER_P = 1; /** * Used in conjunction with the {@link CKEDITOR.config#enterMode} * and {@link CKEDITOR.config#shiftEnterMode} configuration * settings to make the editor produce `
` tags when * using the Enter key. * * Read more in the [documentation](#!/guide/dev_enterkey) and see the * [SDK sample](http://sdk.ckeditor.com/samples/enterkey.html). * * @readonly * @property {Number} [=2] * @member CKEDITOR */ CKEDITOR.ENTER_BR = 2; /** * Used in conjunction with the {@link CKEDITOR.config#enterMode} * and {@link CKEDITOR.config#shiftEnterMode} configuration * settings to make the editor produce `

` tags when * using the Enter key. * * Read more in the [documentation](#!/guide/dev_enterkey) and see the * [SDK sample](http://sdk.ckeditor.com/samples/enterkey.html). * * @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. * * Read more about setting CKEditor configuration in the * [documentation](#!/guide/dev_configuration). * * @class * @singleton */ CKEDITOR.config = { /** * The URL path to the custom configuration file to be loaded. If not * overwritten 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. * * Read more about setting CKEditor configuration in the * [documentation](#!/guide/dev_configuration). * * // 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 element replaced by the editor (usually a `