Skip to content

Conversation

@davidsulc
Copy link

Patch for handling contenteditable elements. See commit message for more info.

rhubarbselleven and others added 11 commits March 15, 2015 12:23
…is-docker

Allows travis to use docker images for testing
…-checkboxes

An indeterminate checkbox will be a null value
Use `$.find`, not `$.children`, to parse nested inputs within a specific form
`Backbone.Syphon` is referenced as `Backbone.Syhpon` multiple times.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants