Skip to content
Browse files

ckeditor tweak to hide file upload tab

  • Loading branch information...
1 parent cd61253 commit 491d0258fae4dbb441c3e8e3ac22b636a4d11151 @spherop spherop committed
Showing with 15 additions and 14 deletions.
  1. +1 −0 .gitignore
  2. +12 −12 config/ckeditor.yml
  3. +1 −1 public/javascripts/ckcustom.js
  4. +1 −1 public/stylesheets/new_style.css
View
1 .gitignore
@@ -11,4 +11,5 @@ public/system
public/coverage
public/features_rcov
public/javascripts/js_all.js
+public/javascripts/ckeditor/config.js
public/stylesheets/styles_all.css
View
24 config/ckeditor.yml
@@ -15,11 +15,11 @@ development:
public_uri: "/uploads"
public_path: "public/uploads"
- file_manager_uri: "/ckeditor/files"
- file_manager_upload_uri: "/ckeditor/create?kind=file"
+ file_manager_uri: :null
+ file_manager_upload_uri: :null
- file_manager_image_upload_uri: "/ckeditor/create?kind=image"
- file_manager_image_uri: "/ckeditor/images"
+ file_manager_image_upload_uri: :null
+ file_manager_image_uri: :null
staging:
swf_file_post_name: "data"
@@ -37,11 +37,11 @@ staging:
public_uri: "/uploads"
public_path: "public/uploads"
- file_manager_uri: "/ckeditor/files"
- file_manager_upload_uri: "/ckeditor/create?kind=file"
+ file_manager_uri: :null
+ file_manager_upload_uri: :null
- file_manager_image_upload_uri: "/ckeditor/create?kind=image"
- file_manager_image_uri: "/ckeditor/images"
+ file_manager_image_upload_uri: :null
+ file_manager_image_uri: :null
production:
swf_file_post_name: "data"
@@ -59,8 +59,8 @@ production:
public_uri: "/uploads"
public_path: "public/uploads"
- file_manager_uri: "/ckeditor/files"
- file_manager_upload_uri: "/ckeditor/create?kind=file"
+ file_manager_uri: :null
+ file_manager_upload_uri: :null
- file_manager_image_upload_uri: "/ckeditor/create?kind=image"
- file_manager_image_uri: "/ckeditor/images"
+ file_manager_image_upload_uri: :null
+ file_manager_image_uri: :null
View
2 public/javascripts/ckcustom.js
@@ -62,7 +62,7 @@ CKEDITOR.editorConfig = function( config )
'NumberedList','BulletedList'],
['JustifyLeft','JustifyCenter','JustifyRight','Link','Unlink','Image']
];
-
+ config.linkShowAdvancedTab = false;
// config.resize_maxWidth = 500;
// config.resize_minWidth = 500;
config.removePlugins = 'elementspath';
View
2 public/stylesheets/new_style.css
@@ -34,7 +34,7 @@ object embed {display:block;}
.padding_50 {padding:50px;}
.align-center{text-align:center;}
.align-right{text-align:right;}
-.test {}
+
.margin_top_10{margin-top:10px;}
.margin_bottom_10{margin-bottom:10px;}
.border_top {border-top:solid 1px #aaa;}

0 comments on commit 491d025

Please sign in to comment.
Something went wrong with that request. Please try again.