-
-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FAQ has capability to attach a file, but not ability to read it. Remove the capability. #5070
Comments
I can work on this! |
Excellent! Thank you! |
Do you have any hints what file I should be looking in? A couple of us have been digging together, but are rusty working with Rails so we're going in circles 😅 |
The live URL is https://humanessentials.app/admin/questions When you click edit or create, you see this: Which uses these files:
And then that thing has some weird f.rich_text_area .... I don't know what that thing is, but the hope in this ticket is that it can be configured to not allow attachments. |
Maybe docs are at https://apidock.com/rails/ActionView/Helpers/FormHelper/rich_text_area |
This may be more difficult than we thought! |
.... I found this, which would be acceptable but annoying! https://www.donnfelker.com/disable-attachments-in-the-trix-editor/ . I kinda just want the button to be hidden. Maybe with CSS? |
Thank you so much! We reached the same conclusion about hiding it with CSS - I'll put in a PR as soon as I can in between conference things :) |
Summary
Remove the ability to attach a file in FAQs (as superadmin)
Why?
We don't use it and it doesn't work properly (banks can't open the files)
Details
To see this
sign in as [email protected]
click on FAQ
click on Write New Question and Answer
There is an "Attach Files" option on the answer field. Remove the option.
Criteria for completion
The text was updated successfully, but these errors were encountered: