Merge branch 'master' of https://github.com/fetsite/fetsite
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
/db/data.yml
|
||||
/db/.#initdebug.rb
|
||||
/usergroup.ldif
|
||||
/newuser.ldif
|
||||
|
||||
3
Gemfile
3
Gemfile
@@ -113,4 +113,5 @@ gem 'bootstrap-kaminari-views', :git=>'git://github.com/matenia/bootstrap-kamina
|
||||
gem 'sunspot_rails'
|
||||
gem 'sunspot_solr'
|
||||
gem 'sitemap_generator'
|
||||
gem 'whenever'
|
||||
gem 'whenever'
|
||||
gem 'yaml_db'
|
||||
|
||||
@@ -32,7 +32,7 @@ class ThemenController < ApplicationController
|
||||
Sanitize.node!(node,{:elements=>["span"],:attributes=>{"span"=>["class","style"]},:css=>{:properties=>["color"]}})
|
||||
{:node_whitelist=>[node]}
|
||||
end
|
||||
@thema.text = Sanitize.fragment(@thema.text, {:elements=>['table','tr','td','p','h3','h4','a','th','img','ul','li','i','b','em'],:attributes=>{'p'=>['class'],'table'=>['class'],'a'=>['href','data'],'img'=>['src','width','height'],:all=>['class']},:css=>{:properties=>['float']},:transformers=>[trans_icons]})
|
||||
@thema.text = Sanitize.fragment(@thema.text, {:elements=>['table','tr','td','p','h1','h2','h3','h4','h5','a','th','img','ul','li','i','b','em','pre','code'],:attributes=>{'p'=>['class'],'table'=>['class'],'a'=>['href','data'],'img'=>['src','width','height'],:all=>['class']},:css=>{:properties=>['float']},:transformers=>[trans_icons]})
|
||||
# # #
|
||||
# #
|
||||
# #
|
||||
|
||||
@@ -23,7 +23,7 @@ heading_clear_tag: p
|
||||
width: "100%"
|
||||
content_css: "/assets/tinymce.css"
|
||||
toolbar:
|
||||
- styleselect | bold boldred_btn italic forecolor | list link image table | undo redo | fullscreen code
|
||||
- styleselect removeformat | bold boldred_btn italic forecolor | list link image table | bullist numlist | alignleft aligncenter alignright alignjustify | undo redo | fullscreen code
|
||||
formats:
|
||||
boldred: {selector: "p",block: "p", classes: "mc-important"}
|
||||
setup: function(ed) {
|
||||
|
||||
Reference in New Issue
Block a user