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 +1 -1
- data/config/initializers/mce_options.rb +17 -14
- data/muck-contents.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
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
|
|
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
|
-
|
|
32
|
-
|
|
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
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
:plugins => %w{ paste media preview inlinepopups safari save searchreplace table style template fullscreen print autosave muckimage mucklink
|
|
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,
|
data/muck-contents.gemspec
CHANGED