AJB

What I Use 2016

The updated 2016 list of my gadgets, computers and software I use on a daily basis. Computer(s) Computer: MacBook Pro I continue to use my Mid 2014 MacBook Pro 13″ with an attached 23″ monitor. It’s fast, has crazy long battery life, and works perfectly for doing coding or layout on my book. Smartphone: Samsung Galaxy S7 Edge

What I Use 2016 Read More »

Summernote Image Upload

NOTE: This only applies to Summernote 0.6.* and not to newer versions. $(‘#summernote’).summernote({ height: 850, toolbar: [ [‘style’, [‘fontsize’,’fontname’,’bold’, ‘italic’, ‘underline’, ‘clear’]], [‘color’, [‘color’]], [‘para’, [‘ul’, ‘ol’, ‘paragraph’,’hr’,’link’,’picture’]], [‘src’,[‘fullscreen’,’codeview’]] ], onImageUpload: function(files, editor, welEditable) { sendFile(files[0], editor, welEditable); } }); function sendFile(file, editor, welEditable) { data = new FormData(); data.append(“file”, file); $.ajax({ data: data, type:

Summernote Image Upload Read More »