Skip to content

TinyMCE plugin for Backdrop CMS to browse files on server and link to them in content.

License

Notifications You must be signed in to change notification settings

backdrop-contrib/tinymce_filelink

Repository files navigation

TinyMCE File Link

A TinyMCE plugin with a toolbar button that opens a dialog to conveniently insert a link to a file previously uploaded to the server. Like the link plugin does, but more convenient.

Toolbar icon

The listing has filters, provides more info about the file, and allows to preview the file.

Screenshot of the open dialog

Useful, if you have lots of files (like documents) and need to link to them in content regularly.

The listing is a view, so if you need more or different filter criteria or more info columns, adapt the "tinymce_file_browser" view as needed via Views admin UI.

If people have access to the editor, but no access to the browser view (by views access setting), the button will still be visible, but disabled.

The browser view also allows to change the link contents, as the markup from the preview column is the markup that will get inserted. Unless you selected an image or text in the editor before opening the dialog, as then the link will get wrapped around your selection.

Installation

Install this module using the official Backdrop CMS instructions

Edit one of your TinyMCE editor profiles to add this plugin to the toolbar.

Issues

Bugs and feature requests should be reported in the Issue Queue

Current Maintainers

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.