We have added the document manager to our toolsfile.xml -
<tool name="DocumentManager"/> - and are using this to allow content editors to add links to documents in the site collection documents library. They can also upload documents if needed. When the link is added to the page it adds the following markup:
What we would like to do is expand of the markup that is added to do the following:
- Add an appropriate image befoere the links (pfd icon, word icon etc)
- Add the document file size
The markup added would ideally be
<img src="/sites/sitename/Style%20Library/en-us/Images/icon_pdf.gif" alt="PDF Icon" title="PDF Icon" /><a href="/sites/sitename/SiteCollectionDocuments/somedocument.pdf" title="somedocument.pdf">somedocument.pdf</a> (32kb)
Is it possible to amend the functionality of the Document Manager to capture/add the extra information to the markup that is return? Or is there any existing functionality that we can use?
We are currently using version 18.104.22.168 of the editor.