Edit 'typolinks' plugin of tinyMCE
I need to edit the 'typolinks' plugin of tinyMCE.
When you select a page in the popup 'Insert/Edit link" the 'href' field is filled by {{ link_page::ID }}.
Is it possibile to change link_page ??? I would like to use a custom wildcard.
Thank you.
Paolo
Re: Edit 'typolinks' plugin of tinyMCE
Hi.
Quote:
Is it possibile to change link_page ??? I would like to use a custom wildcard.
What do you mean?
{{ link_page::ID }} is an insert-tag (http://www.contao.org/en/insert-tags.html). So, you can change it to any other insert tag or url.
Re: Edit 'typolinks' plugin of tinyMCE
In the popup 'Insert/Edit link" when you select a page the 'href' field is filled by {{ link_page::ID }}.
I would like that the 'href' field is filled by {{ link_CUSTOM::ID }}.
Re: Edit 'typolinks' plugin of tinyMCE
Re: Edit 'typolinks' plugin of tinyMCE
I have already create my custom InsertTag.
I need to modify the behavior of typolinks.
Re: Edit 'typolinks' plugin of tinyMCE
I'm probably not much help either, but it does look like the "Typolinks" plugin that creates that behavior is in /plugins/tinyMCE/typolinks/ and then is loaded via /system/config/tiny****.php files.
Maybe you could try copying that plugin and tinkering with it.