Skip to content

Commit abf1329

Browse files
authored
Merge pull request #9 from jywarren/readme
docs for latest v0.2.0 options
2 parents 3df18d9 + b195203 commit abf1329

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ inlineMarkdownEditor({
4747
buildSectionForm: function() {}, // return a string containing the form element
4848
onComplete: function(response, markdown, html, el, uniqueId, form, o) {}, // run on completing AJAX post
4949
isEditable: function(markdown) {}, // returns boolean; whether a given subsection should get an inline form; default skips HTML and horizontal rules
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
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
5152

5253
});
5354
```

0 commit comments

Comments
 (0)