GeorgeValergas / paintweb

Automatically exported from code.google.com/p/paintweb
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Allow web application integration by specifying a form input element to replace #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
To ease the PaintWeb integration into other Web applications, it would be 
a good feature to allow developers to specify a form input element they 
want to replace.

Common WYSIWYG editors can replace an input (typically a textarea 
element). When the user submits the form, the input value is updated to 
hold the HTML of the article the user edited.

PaintWeb should be able to replace an input (typically an input of 
type=text). When the user submits the form, the input value is updated to 
hold the browser-generated data URL of the image the user drawn.

The implementation should allow developers to specify a form input by ID, 
by class names, or directly with a DOM object reference.

Original issue reported on code.google.com by mihai.sucan on 21 Sep 2009 at 8:26