Sha256: 645ec92245f384f97e5494278ef82ea9f8460ea7d65ec93362c6447c22b3e23f
Contents?: true
Size: 699 Bytes
Versions: 23
Compression:
Stored size: 699 Bytes
Contents
$(function() { var summer_note; summer_note = $('#articles_post_psttext'); summer_note.summernote({ height: 800, toolbar: [ // [groupName, [list of button]] ['style', ['bold', 'italic', 'underline', 'clear']], ['font', ['strikethrough', 'superscript', 'subscript']], ['fontsize', ['fontsize']], ['color', ['color']], ['para', ['ul', 'ol', 'paragraph']], ['height', ['height']], ['view', ['fullscreen', 'codeview']], ], codemirror: { lineNumbers: true, tabSize: 2, theme: "solarized light" } }); summer_note.code(summer_note.val()); return summer_note.closest('form').submit(function() { summer_note.val(summer_note.code()); return true; }); });
Version data entries
23 entries across 23 versions & 2 rubygems