Skip to content
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

CKEditor: allow uploading a file #2619

Closed
jackaponte opened this issue Apr 5, 2017 · 5 comments
Closed

CKEditor: allow uploading a file #2619

jackaponte opened this issue Apr 5, 2017 · 5 comments

Comments

@jackaponte
Copy link

Title inspired by issue #1088. :)

That feature request was about images; in this case, I'm seeking a way to enable users to upload other kinds of files (e.g. PDFs, text files, images too) and then link text or images to those files via the WYSIWYG. I'm going to try the Insert contrib module, but in Drupal 7 I've been able to upload files or use IMCE "Browse server" functionality via the Link button in the WYSIWYG. That approach would be ideal for my users!

Happy to help with these efforts if there's a good way for me to do so.

@klonos
Copy link
Member

klonos commented Apr 6, 2017

When I initially saw the title of this issue, my first reaction was "How can files be inserted in a WYSIWYG?" ..."As links to the file" is the answer 😄 Seems like a reasonable request to me, although you can use a file field, set it to render links to the files, and reference the "documents" section on your text. Not the same thing, but a workaround.

@klonos
Copy link
Member

klonos commented Apr 6, 2017

...I also remember that in d.org issue queues you could upload a file and insert a link to it in the text.

@jackaponte
Copy link
Author

Thanks for the responses, @klonos! Yup, my users need an easy way to link text or an image to PDFs and other files, within their Body and other HTML-enabled fields. Your suggested workaround probably wouldn't be user-friendly enough for end users, but the Insert module I mentioned earlier is doing well enough for now!

@Al-Rozhkov
Copy link
Member

#2072 [UX] Allow uploading a file from the link dialog in rich-text editor
Duplicate?

@jackaponte
Copy link
Author

Ah, I think you're right, @Al-Rozhkov; thank you! This does seem to duplicate #2072. I'll close this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants