Make FileManager parameters available in RichTextEditor #2383
Unanswered
mdmontesinos
asked this question in
Ideas
Replies: 1 comment 2 replies
-
Additional parameters could be added to the RichTextEditor which would then be passed to the FileManager. The Html/Text module Settings could be enhanced to allow a user to specify those parameters through the UI. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be nice that you are able to customize the FileManager used by the RichTextEditor, and consequently, the HtmlText.
For example, I want to have an HtmlText module whose FileManager can only access a specific folder. Therefore, I would use a file manager like this:
However, as the FileManager reference is private in the RichTextEditor, I can't pass any parameters to it. It would be unnecessary to create a custom component (basically a copy of both RichTextEditor and HtmlText) just to add this feature.
Perhaps a good solution is to make the FileManager reference in RichText a parameter itself, so it can be configured beforehand, and sent to the component.
Beta Was this translation helpful? Give feedback.
All reactions