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.
|
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
|
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 = {
|
data/muck-contents.gemspec
CHANGED
@@ -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',
|