Hi all,
This TinyMCE plugin (my first!) is based of awardle’s excellent FCK plugin called CMSContent.
The plugin allows for a link dialog box to be accessed from the TinyMCE toolbar that allows you to navigate to your chosen page using a document tree. All the properties/attributes that are accessible using the normal advanced link dialog are present in this plugin as well.
To install, please follow the instructions in the readme.txt. Please note that this plugin does require some changes to the MODx TinyMCE plugin code in the MODx manager, but I’ve included a sample extract of the changes to hopefully get most people started.
This plugin, at the moment, is probably not suited to large sites as all the documents have to be loaded into the document tree before the dialog box is displayed - please give it a go and let me know if you have any issues with this. I am looking at adapting this to use a ajax-driven document tree at some point to help alleviate this potential problem.
Also, when you edit a link you have to retype in the link details - this is a bug that appears to affect the standard link dialog as well but I’m looking into it anyhow.
Anyway, enough said, I’ll let you go and have a play.
Thoughts and opinions welcome,
Garry