/** * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md. */ /* global define, requirejs, CKEDITOR */ 'use strict'; define( 'ckeditor-dev', () => { return { /** * A flag specifying whether CKEditor is running in development mode (original source code). * * This property is not defined in production (compiled, build code). * * See also {@link #isDebug}. * * @member CKEDITOR */ isDev: true, // Documented in ckeditor5-core/ckeditor. getPluginPath( name ) { return this.basePath + 'node_modules/ckeditor-plugin-' + name + '/src/'; } }; } ); // For the dev version, we override the "plugin" module. requirejs.config( { paths: { // The RequireJS "plugin" plugin. 'plugin': CKEDITOR.basePath + 'src/plugin', // Due to name conflict with the above, we have to save a reference to the core "plugin" module. // See src/plugin.js for more details. 'plugin-core': CKEDITOR.basePath + 'node_modules/ckeditor5-core/src/plugin' } } );