Redactor - Disable Perch Assets functionality for Files

  • I've never been much of a fan of the Asset shortcodes, introduced in Perch 3. My feeing is I don't think they are very end-user friendly.

    This is why I commissioned the excellent hus_hmd to create Redactor: inline Perch Assets :)

    I've now run into the same problem with the 'File' button in Redactor. If the client uses this button, Perch inserts a shortcode eg. [cms:asset 10 title="Download Form PDF"] instead of Redactor's default, a simple link, which I much prefer.

    Does anyone know of a way to disable shortcodes for Files in redactor?

  • Thanks marc There must be a way in the perch/addons/editors/config.js

    The code below in the file removes the Perch Assets plugin from redactor, I'm hoping someone can help with code to remove shortcodes in the same way.