Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

admin input

  • Loading branch information...
commit 9bed3e4dd0441a4030fcf14b56657edd586a17ca 1 parent 2bbf8f7
@morygonzalez authored
Showing with 6 additions and 2 deletions.
  1. +2 −1  public/admin/css/style.css
  2. +4 −1 public/admin/js/editor.js
View
3  public/admin/css/style.css
@@ -147,7 +147,8 @@ input[type="password"] {
textarea {
display:block;
- width:550px;
+ width:85%;
+ /* width:550px; */
height:450px;
}
textarea#site_description {
View
5 public/admin/js/editor.js
@@ -5,7 +5,10 @@ $(function() {
var switchTextareaAndWysiwyg = (function() {
var name = $('select[name$="[markup]"] option:selected').val();
- name = name == '' ? 'html' : name
+ name = name == 'html' ? 'kramdown' : name;
+ $('select[name$="[markup]"] option[value$="kramdown"]').attr("selected", "selected");
+ /* var name = $('select[name$="[markup]"] option:selected').val(); */
+ /* name = name == '' ? 'html' : name */
var html;
if (name == 'html') {
// enable wysiwyg
Please sign in to comment.
Something went wrong with that request. Please try again.