deleted crap files, removed (not-that-)epic-editor
This commit is contained in:
@@ -21,26 +21,4 @@ $(function(){
|
||||
})
|
||||
});
|
||||
}, 4000);
|
||||
|
||||
|
||||
var editor = new EpicEditor({
|
||||
container: 'epic',
|
||||
textarea: 'epic-textarea',
|
||||
basePath: '/assets',
|
||||
clientSideStorage: false,
|
||||
theme: {
|
||||
base: '/base/epiceditor.css',
|
||||
preview: '/preview/github.css',
|
||||
editor: '/editor/epic-light.css'
|
||||
},
|
||||
button: {
|
||||
bar: true
|
||||
},
|
||||
autogrow: {
|
||||
minHeight: 300
|
||||
}
|
||||
});
|
||||
try {
|
||||
editor.load();
|
||||
} catch (e) {}
|
||||
});
|
||||
@@ -11,6 +11,5 @@
|
||||
// GO AFTER THE REQUIRES BELOW.
|
||||
//= require jquery
|
||||
//= require jquery_ujs
|
||||
//= require epiceditor
|
||||
//= require app
|
||||
//= require moment
|
||||
@@ -3,7 +3,4 @@
|
||||
*= require style.css
|
||||
*= require screen.css
|
||||
*= require mobi.css
|
||||
*/
|
||||
@import 'base/epiceditor';
|
||||
@import 'preview/github';
|
||||
@import 'editor/epic-light';
|
||||
*/
|
||||
@@ -3,4 +3,4 @@
|
||||
\[yt\]\(([a-zA-Z0-9\-_]+)\)
|
||||
|
||||
|
||||
https://www.youtube.com/embed/{id}?theme=light&iv_load_policy=3&showinfo=1&showsearch=0&rel=0&modestbranding&hd=1&autohide=1
|
||||
https://www.youtube.com/embed/{id}?theme=light&iv_load_policy=3&showinfo=1&showsearch=0&rel=0&modestbranding&hd=1&autohide=1&html5=1
|
||||
@@ -2,8 +2,7 @@
|
||||
<p id="markdown-note">Note: You can use <%= link_to "Markdown", "https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet", target: "_blank" %>!</p>
|
||||
<%= simple_form_for @post do |f|%>
|
||||
<%= f.input :title, :label => false %>
|
||||
<%= f.hidden_field :content, id: "epic-textarea", :label => false, input_html: {class: "full-width vertical"} %>
|
||||
<div id="epic"></div>
|
||||
<%= f.hidden_field :content, :label => false, input_html: {class: "full-width vertical"} %>
|
||||
<%= f.submit "Update Post", class: "btn blue left" %>
|
||||
<% end %>
|
||||
<%= button_to "Delete post", @post, :method => "delete", :confirm => "Delete post & comments forever?", class: "btn red right" %>
|
||||
@@ -2,7 +2,6 @@
|
||||
<p id="markdown-note">Note: You can use <%= link_to "Markdown", "https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet", target: "_blank" %>!</p>
|
||||
<%= simple_form_for @post do |f|%>
|
||||
<%= f.input :title, placeholder: "Title" %>
|
||||
<%= f.hidden_field :content, id: "epic-textarea", placeholder: "Text", input_html: {class: "full-width vertical"} %>
|
||||
<div id="epic"></div>
|
||||
<%= f.hidden_field :content, placeholder: "Text", input_html: {class: "full-width vertical"} %>
|
||||
<%= f.submit "Create Post", class: "btn blue left" %>
|
||||
<% end %>
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
<p id="markdown-note">Note: You can use <%= link_to "Markdown", "https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet", target: "_blank" %>!</p>
|
||||
<%= simple_form_for [@thread.forum, @thread] do |f|%>
|
||||
<%= f.input :title, label: false %>
|
||||
<%= f.hidden_field :content, id: "epic-textarea", label: false, input_html: {class: "full-width vertical"} %>
|
||||
<div id="epic"></div>
|
||||
<%= f.hidden_field :content, label: false, input_html: {class: "full-width vertical"} %>
|
||||
<%= f.submit "Update thread", class: "btn blue left" %>
|
||||
<% end %>
|
||||
<%= button_to "Delete thread", [@thread.forum, @thread], :method => "delete", :confirm => "Delete thread & comments forever?", class: "btn red right" %>
|
||||
@@ -16,7 +16,6 @@
|
||||
<div id="form_inputs">
|
||||
<%= f.text_field :title, placeholder: "Title" %>
|
||||
</div>
|
||||
<%= f.hidden_field :content, id: "epic-textarea", placeholder: "Text" %>
|
||||
<div id="epic"></div>
|
||||
<%= f.hidden_field :content, placeholder: "Text" %>
|
||||
<p><%= f.submit "Create thread", class: "btn blue" %></p>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user