An advanced TinyMCE plugin for handling links to files
Project description
Introduction
This is a plugin for TinyMCE editor for Plone.
It will replace in the less obtrusive way the standard plonelink plugin, providing a version that handle in a different way links to File contents.
When the link is not internal or not to a file, nothing change.
When you link a file inside the Plone site, instead of obtain this in your XHTML…:
<a class="internal-link" href="./my-pdf">Download the document</a>
…you’ll get this…:
<a class="internal-link internal-link-tofile" href="./my-pdf" type="application/pdf" title="pdf, 146.2 kB">Download the document</a>
The plugin also add a CSS to your Plone site that:
Add the image icon based on file’s mimetype, on the left of the link (need IE 7 or better)
After the linked text will be added a text generated with CSS, with the same content you find in the title, put in bracket (need IE 8 or better). IE users with old version still get’s some additional information thanks to the title attribute.
How this looks like (on Firefox)
What you will find inside TinyMCE
Dependencies
This product has been tested with Plone 3.2 and TinyMCE 1.1rc8.
TODO
A good uninstall GS step. Right now you must manually restore your default TinyMCE configuration.
Credits
Developed with the support of Regione Emilia Romagna; Regione Emilia Romagna supports the PloneGov initiative.
Changelog
0.0.1alpha (2010-07-20)
initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file collective.tinymceplugins.advfilelinks-0.0.1alpha.tar.gz.
File metadata
- Download URL: collective.tinymceplugins.advfilelinks-0.0.1alpha.tar.gz
- Upload date:
- Size: 57.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
942b5a4174c2ec3a608204a4de69e1d8c5767c09a8b1c0ea801f66cd272ddc78
|
|
| MD5 |
843c5c5ede2b533c14abd8db710e54cb
|
|
| BLAKE2b-256 |
3c92923e8280544a7299b8b63a972aa74d0c82c171c2683a4c2064378fcf2c45
|
File details
Details for the file collective.tinymceplugins.advfilelinks-0.0.1alpha-py2.4.egg.
File metadata
- Download URL: collective.tinymceplugins.advfilelinks-0.0.1alpha-py2.4.egg
- Upload date:
- Size: 98.9 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55d4326858ae198332556c8bcaddffff90716c107bac1209b40a448eca5f6eff
|
|
| MD5 |
4a2c4a4d4585a6c03159435aa2608aa9
|
|
| BLAKE2b-256 |
7f25227c1ea27a3978a1c6d09e637462518b4fda4ced1b78aec6ff1df52bdfb2
|