Forum
Textarea bucket not respected with redactor
I've got a content template with a textarea which defines a bucket:
<perch:content id="inhoud" type="textarea" label="Inhoud" html="true" editor="redactor" bucket="overige"/>
Uploading works fine, but it puts the uploads in the main resources folder not in the specified bucket. Changing the content template to use markitup like:
<perch:content id="inhoud" type="textarea" label="Inhoud" html="true" editor="markitup" bucket="overige"/>
And the bucket is respected.
According to the docs you should be to use buckets on textarea's (https://docs.grabaperch.com/docs/templates/attributes/type/textarea/) and there's no comment that this doesn't apply for redactor so i'm guessing this is a bug?
Can you show us your diagnostics report?
Have you successfully uploading files into the bucket from other templates?
Yes, no problems then (when not using a redactor textarea)
I'll have to look into it. Are you on the latest version of the Redactor plugin from our site?
And does it work with the default bucket ok?
yeah the default bucket works fine, it just looks like redactor completely ignores the bucket when you specify one.
Yes the latest redactor plugin (downloaded today).
That's odd. I'll have to get it set up and try it out.
redactor seems to have changed the options, so in _config.inc file change:
to: