Applying Rich Text Formatting to the textarea attribute in the File Manager

Permalink 1 user found helpful
Hi there,

In the file manager every image has its individual "File Details" under "Properties." Basic property details like "Title" and "Description" are all editable.

How can I go about adding text styling or tinyMCE editing capabilities to the text area attribute for the "Description" property in the File Manager?

1 Attachment

 
ijessup replied on at Permalink Reply
ijessup
I'm not going to say its not possible, because with enough time and know-how it is, but I have had a recent run in with the tool used in that dialog. Well actually the tool in the Bulk Properties edit dialog, which is pretty much the same thing.

Anyways, there isn't a Loader::helper('form')->richtextarea($key).

Or put more simply, there isn't a built in function that loads the WYSIWYG editor when using the form helper.

I'll see if I can hack something up for ya, because I think this is a good idea.
ijessup replied on at Permalink Reply
ijessup
Well...

TinyMCE requires some JS to be in the header, and you can't addHeaderItem from the FormHelper.

So I'm kind of stumped here.
zeetron replied on at Permalink Reply
Thanks for the effort. Much appreciated. I'll be on the look out for any solutions. Once again Thanks.
andrew replied on at Permalink Reply
andrew
You can create custom rich text attributes for files, if you'd like. I know it doesn't completely solve your problem. Also, it might be buggy in the current release (but should be fixed in 5.4.1)