[Phpmyadmin-devel] fckeditor support for TEXT fields

Herman van Rink rink at initfour.nl
Wed Jun 3 15:26:51 CEST 2009


Marc Delisle wrote:
> Herman van Rink a écrit :
>   
>> Marc Delisle wrote:
>>     
>>> Hi,
>>> any objection about integrating fckeditor[0] to TEXT field in 
>>> insert/edit modes?
>>>
>>> [0] See http://www.fckeditor.net/demo
>>>   
>>>       
>> I myself am more a fan of tinymce [1], but the issue is more general
>> weather we should integrate a wysiwyg editor.
>>
>> When the content is HTML I immediately agree that a wysiwyg editor is
>> nice to have, however we must ensure that it does not break other types
>> of content.
>> One additional objection is that these editors are generally a lot
>> slower that a plain text-area.
>>
>> It should therefore be configurable weather it is used at all.
>> Even better would be to make it configurable per mime-type.
>>
>> One additional thing I like which the Drupal wysiwyg API [2] has
>> included is a simple "Disable rich-text" link below the editor to
>> convert back to a regular text area.
>>
>> [1] http://tinymce.moxiecode.com/
>> [2] http://drupal.org/project/wysiwyg
>>
>>     
>
> Yes there would be some config.inc.php (and probably user preference 
> setting) to activate or not the editor.
>
> What do you mean, per mime-type? Do you have in mind launching GIMP for 
> jpeg, for example?
>   
Not directly, but it would be nice if the code/api for this would allow
additional editors for specific content types.
What Michal suggested, to base it on the transformation info we already
have, also looks promising.

> About disabling, these editors usually have a "source" button, isn't 
> this sufficient?
>   
Yes, that could be ok.

Herman




More information about the Developers mailing list