Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/LimeSurvey/LimeSurvey
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Apr 20, 2016
2 parents c5588eb + 8ff8202 commit 7a6a3bf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion application/config/config-defaults.php
Expand Up @@ -627,7 +627,6 @@

$config['publicstyleurl'] = $config['publicurl'].'styles-public/';
$config['sCKEditorURL'] = $config['third_party'].'ckeditor';
//$config['sCKEditorURL'] = '/scripts/admin/ckeditor.36';
$config['usertemplaterooturl'] = $config['uploadurl'].'/templates'; // Location of the user templates

$config['adminimageurl'] = $config['styleurl'].$config['admintheme'].'/images/'; // Location of button bar files for admin script
Expand Down
1 change: 0 additions & 1 deletion application/helpers/admin/htmleditor_helper.php
Expand Up @@ -261,7 +261,6 @@ function(){ var $oCKeditorVarName = CKEDITOR.replace('$fieldname', {
,LimeReplacementFieldsType : \"".$fieldtype."\"
,LimeReplacementFieldsAction : \"".$action."\"
,LimeReplacementFieldsPath : \"".Yii::app()->getController()->createUrl("admin/limereplacementfields/sa/index/")."\"
,width:'660'
,language:'".sTranslateLangCode2CK(Yii::app()->session['adminlang'])."'
,smiley_path : \"".Yii::app()->getConfig('imageurl')."/emoticons/texteditor/\"\n"
. $sFileBrowserAvailable
Expand Down
3 changes: 1 addition & 2 deletions scripts/admin/ckeditor-config.js
Expand Up @@ -11,8 +11,7 @@ CKEDITOR.editorConfig = function( config )
config.removeDialogTabs = 'link:upload;image:Upload';

config.skin = 'bootstrapck';
config.toolbarCanCollapse = false;
config.resize_enabled = false;
//config.toolbarCanCollapse = true;
config.autoParagraph = false;
config.basicEntities = false; // For <, >, & ( and nbsp)
config.entities = false; // For ' ( and a lot of other but not <>&)
Expand Down

0 comments on commit 7a6a3bf

Please sign in to comment.