Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contenteditable #113

Open
wants to merge 11 commits into
base: minor
Choose a base branch
from
Open

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