tinmce update

This commit is contained in:
2014-07-03 21:31:27 +05:30
parent d72ece824c
commit 527743c4c1
9 changed files with 40 additions and 26 deletions

View File

@@ -14,7 +14,7 @@
*= require 'calendars'
*= require jquery.fileupload-ui
* require 'bootstrap'
*= require 'tinymce'
*/
// Colorshema #0A64A4

View File

@@ -100,4 +100,5 @@ $box-border: lightgray solid 1px;
$box-border-radius:0px;
$box-background: white;
@import 'layout';
@import 'calendars';
@import 'calendars';
@import 'tinymce';

View File

@@ -0,0 +1,17 @@
i.mce-i-fa {
font: 400 17px/1 FontAwesome;
padding: 0;
vertical-align: middle;
speak: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
margin-left: -2px;
padding-right: 2px
}
i.fa-red { color:red; }
.mc-important {
color: red;
font-weight:bold;
text-align: center;
}

View File

@@ -10,5 +10,5 @@
<%= f.action :submit, :as => :input %>
<% end %>
<% end %>
<%= tinymce %>
<%= tinymce :theme => "simple", :language => "de", :plugins => ["wordcount", "paste"] %>
<% tinymce :compact %>

View File

@@ -10,4 +10,4 @@
<%= f.action :submit, :as => :input %>
<% end %>
<% end %>
<%= tinymce %>
<%= tinymce :menubar=>false %>

View File

@@ -10,7 +10,7 @@
<%= stylesheet_link_tag "themes/"+theme_name+"/application", :media => "all" unless theme_name.empty? %>
<%= stylesheet_link_tag "application", :media=>"all" if theme_name.empty? %>
<%= theme_stylesheet_link_tag "test", :media => "all" %>
<% theme_stylesheet_link_tag "test", :media => "all" %>
<% theme_stylesheet_link_tag "mod", :media=>"all" %>
<!-- <link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/style.css">

View File

@@ -1,6 +1,6 @@
<div id="themaview">
<h1><%= I18n.t("thema.add") %></h1>
<%= render 'form' %>
<%= render 'form', :remote=>false %>
</div>
<%= link_to 'Back', themen_path %>