muck-contents 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -1,7 +1,7 @@
1
1
  class Muck::ContentsController < ApplicationController
2
2
  unloadable
3
3
 
4
- uses_tiny_mce(:options => GlobalConfig.advanced_mce_options.merge(:save_onsavecallback => 'save_page'),
4
+ uses_tiny_mce(:options => GlobalConfig.advanced_mce_options,
5
5
  :raw_options => GlobalConfig.raw_mce_options,
6
6
  :only => [:new, :create, :edit, :update])
7
7
 
@@ -43,7 +43,8 @@ GlobalConfig.advanced_mce_options = {
43
43
  :template_mdate_classes => "mdate modifieddate",
44
44
  :template_selected_content_classes => "selcontent",
45
45
  :template_cdate_format => "%m/%d/%Y : %H:%M:%S",
46
- :template_mdate_format => "%m/%d/%Y : %H:%M:%S"
46
+ :template_mdate_format => "%m/%d/%Y : %H:%M:%S",
47
+ :save_onsavecallback => 'save_page'
47
48
  }
48
49
 
49
50
  GlobalConfig.simple_mce_options = {
@@ -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.0"
8
+ s.version = "0.2.1"
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"]
@@ -3,7 +3,6 @@ if Rails.env.production?
3
3
  content_css = ['/stylesheets/all.css']
4
4
  end
5
5
  GlobalConfig.advanced_mce_options = {
6
- :accessibility_warnings => false,
7
6
  :theme => 'advanced',
8
7
  :content_css => content_css,
9
8
  :body_id => 'content',
@@ -44,11 +43,11 @@ GlobalConfig.advanced_mce_options = {
44
43
  :template_mdate_classes => "mdate modifieddate",
45
44
  :template_selected_content_classes => "selcontent",
46
45
  :template_cdate_format => "%m/%d/%Y : %H:%M:%S",
47
- :template_mdate_format => "%m/%d/%Y : %H:%M:%S"
46
+ :template_mdate_format => "%m/%d/%Y : %H:%M:%S",
47
+ :save_onsavecallback => 'save_page'
48
48
  }
49
49
 
50
50
  GlobalConfig.simple_mce_options = {
51
- :accessibility_warnings => false,
52
51
  :theme => 'advanced',
53
52
  :content_css => content_css,
54
53
  :body_id => 'content',
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.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Ball