Sha256: 3b3adb35334948f7dbae9d3bc92c3f2c2855f4b668c2d55d46fef5c133107da5

Contents?: true

Size: 538 Bytes

Versions: 7

Compression:

Stored size: 538 Bytes

Contents

$(function() {
	var summer_note;
	summer_note = $('.post_edit_box');
	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"
		}
	});
});

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
phcpresspro-5.10.0 app/assets/javascripts/phcpresspro/editors/phc_summernote.js
phcpresspro-5.9.2 app/assets/javascripts/phcpresspro/editors/phc_summernote.js
phcpresspro-5.9.1 app/assets/javascripts/phcpresspro/editors/phc_summernote.js
phcpresspro-5.9.0 app/assets/javascripts/phcpresspro/editors/phc_summernote.js
phcpresspro-5.8.9 app/assets/javascripts/phcpresspro/editors/phc_summernote.js
phcpresspro-5.8.8 app/assets/javascripts/phcpresspro/editors/phc_summernote.js
phcpresspro-5.8.7 app/assets/javascripts/phcpresspro/editors/phc_summernote.js