Toolbar including the file upload button
Plugin's settings
Simple dialog without Editor Advanced link
Full dialog with Editor Advanced link

This module allows to add a button in the Drupal 8 rich text editor active toolbar to directly upload and link files into your content. Without this module, the writer would have to upload the files on the webserver via a file field or a FTP connexion then manually create the link.

Dependencies

  • CKEditor (Core)
  • Editor (Core)
  • Filter (Core)
  • File (Core)

Recommended

Installation

  1. Download and enable the module as usual
  2. Go to your filters admin (admin/config/content/formats)
  3. Edit the format on which you want to add that function
  4. Drag the paper clip icon to the "Active toolbar"
  5. Configure the plugin settings in the vertical tabs above the toolbar
  6. Save

Warning: in your text format configuration, if you have the "Limit allowed HTML tags and correct faulty HTML" filter enabled, you should ensure that dragging the button in the toolbar successfully added the data-entity-type and data-entity-uuid attributes to your <a> tag.

Alternatives

Supporting organizations: 
paid contrib time

Project Information

Downloads