Development

#5986 ([PATCH] sfFormExtraPlugin)

You must first sign up to be able to contribute.

Ticket #5986 (new defect)

Opened 4 years ago

Last modified 4 years ago

[PATCH] sfFormExtraPlugin

Reported by: Crafty_Shadow Assigned to: fabien
Priority: major Milestone: plugins
Component: sfFormExtraPlugin Version: 1.2.4
Keywords: sfFormExtraPlugin sfWidgetFormTextareaTinyMCE Cc:
Qualification: Unreviewed

Description

As per discussion that took place here, http://groups.google.com/group/symfony-users/t/b4950dd116b8aa3e?hl=en there were several problems with the sfWidgetFormTextareaTinyMCE widget. Attached is a patch that I have been successfully using in production environment. It is meant to work with TinyMCE 3.2 and up, and it produces XHTML compliant code. It also makes possible the use of gzip compression and offers an alternative syntax to set the dimensions of a textarea tag ('size'=>'120x30'), identical with the one in Symfony 1.0 admin gen. Another extra is the ability to provide a file browser callback directly as an option (it defaults to the sfAssetsLibraryPlugin callback).

Attachments

sfWidgetFormTextareaTinyMCE.class.php.patch (24.1 kB) - added by Crafty_Shadow on 02/27/09 13:42:01.

Change History

02/27/09 13:42:01 changed by Crafty_Shadow

  • attachment sfWidgetFormTextareaTinyMCE.class.php.patch added.

03/05/09 14:23:56 changed by Syam

  • component changed from plugins to sfFormExtraPlugin.