silverstripe / silverstripe-widgets

Widgets subsystem for Silverstripe CMS
http://silverstripe.org
BSD 3-Clause "New" or "Revised" License
38 stars 55 forks source link

HtmlEditorField duplicates itself after being reordered in Widgets currently used #125

Closed torleif closed 8 years ago

torleif commented 8 years ago

Steps to reproduce:

1) create a widget that returns a HtmlEditorField in getCMSFields:

    public function getCMSFields() {
        return FieldList::create(
                        TextField::create('Title'), HtmlEditorField::create('Content')
        );
    }

2) Create the widget on a page with widgets 3) reorder the widget in the page: qidgethtmlerror