Opened 12 years ago

Closed 9 years ago

#5891 closed enhancement (fixed)

Editor needs to behave more like a form widget

Reported by: Douglas Hays Owned by: Douglas Hays
Priority: high Milestone: 1.6
Component: Dijit Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

Editor should support onChange and form submit and form reset like other form widgets.

Change History (9)

comment:1 Changed 12 years ago by Douglas Hays

Milestone: 1.11.2

onChange works, reset is deferred until 1.2 since its new function and RTE isn't a native form widget.

comment:2 Changed 11 years ago by Douglas Hays

Milestone: 1.21.3
Type: defectenhancement

comment:3 Changed 11 years ago by bill

Description: modified (diff)

comment:4 Changed 11 years ago by Douglas Hays

Milestone: 1.31.4

Deferred until after IE8 support is added.

comment:5 Changed 11 years ago by bill

Milestone: 1.41.5

bumping 1.4 tickets to 1.5, and most 1.3 tickets to 1.4

comment:6 Changed 10 years ago by Douglas Hays

Milestone: 1.5tbd
Owner: changed from Douglas Hays to Jared Jurkiewicz

jared, I think bill was actually advocating for this a while ago since users use Editor like a textarea with markup and want to submit the Editor contents easily. If you think this function is still needed, then we need to make sure that Editor has a reset() method, and plays well with the Form widget (which is already does to some extent). Editor already has onChange but it doesn't always fire (like when you add blank lines at the end - maybe this is a feature).

comment:7 Changed 10 years ago by Jared Jurkiewicz

Milestone: tbdfuture

This is a 'feature'.

comment:8 Changed 9 years ago by Douglas Hays

Milestone: future1.6
Owner: changed from Jared Jurkiewicz to Douglas Hays
Status: newassigned

comment:9 Changed 9 years ago by Douglas Hays

Resolution: fixed
Status: assignedclosed

(In [23489]) Fixes #5891. Added reset() method to RichText? if it was created with a TEXTAREA and inside a FORM and added an automated test to Form.html. Set disabled on FORM submit so that disabled Editor contents are not submitted. !strict

Note: See TracTickets for help on using tickets.