sirap-group / tinymce-plugin-forminputs

A plugin for tinymce WYSIWYG HTML editor that allow to insert editable HTML form inputs
GNU Lesser General Public License v2.1
2 stars 0 forks source link

force checkboxes to be wrapped by label and force checkbox toggle on click (firefox bugfix) #5

Closed rbecheras closed 8 years ago

rbecheras commented 8 years ago

Firefox doesn't fire click events on checkboxes (this seems to be a bug I will report but I didn't do it yet) but it fires click events on labels, so, forcing checkboxes to be wrapped by an empty or not empty label element, and forcing to toggle the state of the inner checkbox when clicking the parent label could be an feature improvement and a bugfix alternative for firefox

rbecheras commented 8 years ago

created a branch dev/issues/#5-force-checkboxes-to-be-wrapped for this issue