experius/module-wysiwygdownloads 1.0.1

This module makes it possible to upload different filetypes inside the WYSIWYG-editor. Extra filetypes are Word (doc, docm, docx), Excel (csv, xml, xls, xlsx), PDF (pdf), Compressed Folder (zip, tar)

Type

library

License

None

Requires
Requires (dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Mage2 Module Experius WysiwygDownloads

This module makes it possible to upload different filetypes inside the WYSIWYG-editor.

Example of filetypes that can be configured:

  • Word (doc, docm, docx)
  • Excel (csv, xml, xls, xlsx)
  • PDF (pdf)
  • Compressed Folder (zip, tar)

Use the following instructions to upload a file and set a download link:

  1. Go to a WYSIWYG-editor (for example in the content of a CMS Page or a product textarea attribute)
  2. Select a part of the text which is used as a Download Link (it is also possible to add the Download Link to an Image)
  3. Click on the 'Insert/Edit Link'-button (under the textformat dropdown, do not use the 'Insert/Edit Image'-button)
  4. Click on the 'Browse'-icon behind the Link URL-inputfield
  5. Select the Folder in which you want to upload the Downloadable File (recommended is to create a new Downloads folder to store all the Downloadable Files)
  6. Click the 'Browse files'-button
  7. Select the File from your Documents and click on the 'Open/Insert'-button
  8. Select the Uploaded File
  9. Click on the 'Insert File'-button
  10. (The 'File Upload'-windows will automatically close)
  11. It is recommended to set the Target to 'Open Link in a New Window)
  12. Press on the 'Insert'-button in the 'Insert/Edit Link'-popup
  13. The part of the text which was selected is now a Download Link for the selected file

To Unlink the Downloadable File just set the cursor on the Download Link and Click on the 'Unlink'-button.