You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// do things to element here after the section has been converted to HTML and displayed
45
45
},
46
46
defaultMarkdown:function(markdown) {}, // a markdown parser
47
47
buildSectionForm:function() {}, // return a string containing the form element
48
48
onComplete:function(response, markdown, html, el, uniqueId, form, o) {}, // run on completing AJAX post
49
49
isEditable:function(markdown) {}, // returns boolean; whether a given subsection should get an inline form; default skips HTML and horizontal rules
50
50
extraButtons: { 'fa-icon-name':function(element) {} }, // object with keys of icon names for additional buttons with associated actions for each; returns jQuery element upon construction
51
-
submitSectionForm:function(event, before, after, options) {} // optional, to override the form submission handling for each subsection; before/after represent the text diff
52
-
51
+
submitSectionForm:function(event, before, after, options) {},// optional, to override the form submission handling for each subsection; before/after represent the text diff
52
+
editorOptions: {} // any options to pass to the built-in PublicLab.Editor instance
0 commit comments