You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wish to provide a default configuration inside my Rails engine that mounting apps can implicitly accept (by not writing any CKEDITOR js in their application). However with the absence of app/assets/javascripts/ckeditor/config.js in the mounting app, the following config.js file is served after the engine's config.js.coffee and effectively overwrites the method definition:
/** * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */CKEDITOR.editorConfig=function(config){// Define changes to default configuration here. For example:// config.language = 'fr';// config.uiColor = '#AADC6E';};
Here's a screencap of the network requests in the Inspector panel:
The text was updated successfully, but these errors were encountered:
I wish to provide a default configuration inside my Rails engine that mounting apps can implicitly accept (by not writing any CKEDITOR js in their application). However with the absence of
app/assets/javascripts/ckeditor/config.js
in the mounting app, the followingconfig.js
file is served after the engine'sconfig.js.coffee
and effectively overwrites the method definition:Here's a screencap of the network requests in the Inspector panel:
The text was updated successfully, but these errors were encountered: