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
Form elements are now fetched with `Syphon.InputFetcher`, instead of
the private `getForm` function. By default, this will fetch `contenteditable`
elements in addition to inputs and checkboxes.
"Content editable" fields are handled as follows:
* must have `contenteditable="true"` (having only `contenteditable` present
is *NOT* sufficient, even though it conforms to the HTML spec)
* must define a `data-name` property, which is used like a standard `input`
field's `name` property
* data in read/written using jQuery's `html()` method
Copy file name to clipboardExpand all lines: readme.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -440,6 +440,7 @@ There some known limitations in Backbone.Syphon, partially by design and partial
440
440
441
441
* An input of type `checkbox` will return a boolean value. This can be overriden by replacing the Input Reader for checkboxes.
442
442
* Yo avoid circular references, care should be taken when using Backbone.Relational. See (#33)[https://github.com/marionettejs/backbone.syphon/issues/33].
443
+
*`contenteditable` fields will only be processed if they are explicitly assigned the `true` value: `contenteditable="true"`.
0 commit comments