aijko / aijko-widgetimagechooser

Aijko_WidgetImageChooser adds the Magento image chooser to widgets
58 stars 28 forks source link

Add support for WYSIWYG editor to textarea fields #12

Open jonpday opened 11 years ago

jonpday commented 11 years ago

Although this module is clearly intended just to add the Image Upload functionality, there is a similar requirement to allow administrators to use the WYSIWYG editor when working with widget textareas.

Would you like to see that functionality added to this module or would you like it to be separate?

There are a couple of approaches e.g. http://mario-behrendt.de/2013/04/12/using-a-wysiwyg-editor-in-a-magento-widget/ and http://stackoverflow.com/a/15953843/336905 which can be reviewed

If you are happy to see the WYSIWYG added to this module, we will fork and add it.

baldwinagency-pieter commented 10 years ago

I've tried the method from the second link here but it seems it's not compatible with Magento 1.9. I keep getting a javascript when saving the cms page / block when adding the widget

error: error in [unknown object].fireEvent(): event name: formSubmit error message: Cannot set property 'value' of null

I loved the imagechooser extension, so the wysiwyg version would be awsome too :)