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?
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?
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.
TinyMCE requires some JS to be in the header, and you can't addHeaderItem from the FormHelper.
So I'm kind of stumped here.
Thanks for the effort. Much appreciated. I'll be on the look out for any solutions. Once again Thanks.
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)
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.