It would very beneficial if there was a way to use anchor links within text fields. Tinymce supports it obviously, but PW does not have this ability built in, as far as I know.
2 replies to this topic
#2
Posted 23 May 2012 - 09:24 AM
Edit your field (i.e. Setup > Fields > Body). Click on the 'Input' tab, and open the 'TinyMCE advanced settings' fieldset. Add "anchor" to the theme_advanced_buttons1 input, wherever you want it to appear in the buttons. For instance, here is what my entire field value looks like when I append it to the end:
Once you save that setting, your field will now have an anchor button where you can insert anchor links. To link to anchor, you would just click the link button and type in the anchor name preceded by a '#'. For example, if you created an anchor named "processwire", you'd link to "#processwire".
formatselect,|,bold,italic,|,bullist,numlist,|,link,unlink,|,image,code,fullscreen,anchor
Once you save that setting, your field will now have an anchor button where you can insert anchor links. To link to anchor, you would just click the link button and type in the anchor name preceded by a '#'. For example, if you created an anchor named "processwire", you'd link to "#processwire".
Also tagged with one or more of these keywords: anchor links, tinymce
Community Support →
General Support →
Clickable image path or default folder in TinyMCEStarted by enibas94, 21 May 2013 |
|
|
||
Community Support →
General Support →
tiny tinyMce problem with textAreaLanguageStarted by Jacked, 24 Jan 2013 |
|
|
||
Off Topic →
Dev Talk →
CSS: Getting images overlay to play nicely with TinyMCE outputStarted by onjegolders, 25 Nov 2012 |
|
|
||
Welcome to ProcessWire →
Wishlist & Roadmap →
TinyMCE - Paste as plain text by default?Started by bcartier, 11 Nov 2012 |
|
|
||
Community Support →
General Support →
Simplest way to add or edit a TinyMCE keyboard shortcutStarted by alanfluff, 18 Sep 2012 |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users













