Add pdf or doc link in editor

edited February 2014 in Modules
Is their a possibilite to add links to uploaded pdf or doc files in the editor?

Comments

  • edited 1:35PM
    The MarkitUp! editor supports the following functions:

    assets_path()
    pdf_path()
    img_path()

    The asset_helper's "docs_path()" function can be enabled if it's added to the fuel/application/config/parser.php

    CKeditor currently only supports the img_path function:
    <img src="{img_path('test.jpg')}" alt="">

    More on the templating syntax can be found here:
    http://docs.getfuelcms.com/general/template-parsing
Sign In or Register to comment.