muck-contents 0.2.9 → 0.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.9
1
+ 0.2.10
@@ -1,10 +1,6 @@
1
- content_css = ['/stylesheets/reset.css', '/stylesheets/ie.css', '/stylesheets/application.css', '/stylesheets/common.css', '/stylesheets/standard.css']
2
- if Rails.env.production?
3
- content_css = ['/stylesheets/all.css']
4
- end
5
1
  GlobalConfig.advanced_mce_options = {
6
2
  :theme => 'advanced',
7
- :content_css => content_css,
3
+ :content_css => GlobalConfig.content_css,
8
4
  :body_id => 'content',
9
5
  :mode => "textareas",
10
6
  :height => 650,
@@ -24,17 +20,24 @@ GlobalConfig.advanced_mce_options = {
24
20
  :theme_advanced_buttons1 => %w{save cancel print preview separator
25
21
  search replace separator
26
22
  cut copy paste pastetext pasteword selectall undo redo separator
27
- bold italic underline strikethrough styleprops separator
23
+ bold italic underline strikethrough separator
28
24
  justifyleft justifycenter justifyright indent outdent separator
29
25
  bullist numlist separator
30
- link unlink image file media anchor separator
31
- help},
32
- :theme_advanced_buttons2 => %w{formatselect fontselect fontsizeselect forecolor backcolor separator
26
+ link unlink image file media anchor separator
27
+ template visualaid separator
28
+ fullscreen code},
29
+ :theme_advanced_buttons2 => %w{styleprops styleselect separator
30
+ formatselect fontselect fontsizeselect separator
31
+ forecolor backcolor separator
33
32
  tablecontrols separator
34
- sub sup charmap separator
35
- template visualaid fullscreen code},
36
- :theme_advanced_buttons3 => [],
37
- :plugins => %w{ paste media preview inlinepopups safari save searchreplace table style template fullscreen print autosave muckimage mucklink muckfile},
33
+ sub sup charmap },
34
+ :theme_advanced_buttons3 => %w{}, #bramus_cssextras_classes bramus_cssextras_ids
35
+ #:theme_advanced_buttons3 => %w{cleanup code insertdate inserttime removeformat insertlayer},
36
+ :plugins => %w{ paste media preview inlinepopups safari save searchreplace table style template fullscreen print autosave muckimage mucklink},
37
+ # codehighlighting
38
+ # spellchecker,pagebreak,layer,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,
39
+ # contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template
40
+ # bramus_cssextras
38
41
  :editor_deselector => "mceNoEditor",
39
42
  :editor_selector => 'mceEditor',
40
43
  :remove_script_host => true,
@@ -50,7 +53,7 @@ GlobalConfig.advanced_mce_options = {
50
53
 
51
54
  GlobalConfig.simple_mce_options = {
52
55
  :theme => 'advanced',
53
- :content_css => content_css,
56
+ :content_css => GlobalConfig.content_css,
54
57
  :body_id => 'content',
55
58
  :browsers => %w{msie gecko safari},
56
59
  :cleanup_on_startup => true,
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{muck-contents}
8
- s.version = "0.2.9"
8
+ s.version = "0.2.10"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Justin Ball", "Joel Duffin"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muck-contents
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Ball