Must text links default to blank target?

7 posts by 3 authors in: Forums > CMS Builder
Last Post: January 28, 2010   (RSS)

By markr - January 26, 2010

Any way to control the target of a link? Advanced optons perhaps?

Re: [markr] Must text links default to blank target?

By Chris - January 26, 2010

Hi markr,

Are you referring to the "Insert/edit link" button in the WYSIWYG editor? I'm afraid TinyMCE only gives you three options for link targets:

-- Not set --
Open link in the same window
Open link in a new window

If none of those work for you, you could look into the [url http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink]TinyMCE advlink plugin[/url].

Another possible solution would be to supply a new default target via a <base target="" /> tag in your <head />.

I hope this helps! Please let me know if you have any questions.
All the best,
Chris

Re: [markr] Must text links default to blank target?

By markr - January 27, 2010

No, sorry, I was inquiring re the new 'text link' amongst the advanced menus.

When adding a new editor and selecting text link, is there any way to control the target?

Re: [markr] Must text links default to blank target?

By Dave - January 27, 2010

No, it looks like it always opens in a new window.

What did you want it to do?
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Must text links default to blank target?

By markr - January 27, 2010

Sometmes I DO want a new window, sometimes NOT.

Would like to be able to set 'target=' in advanced options for text link. Maybe in future, eh?

Re: [markr] Must text links default to blank target?

By Dave - January 27, 2010

Sure, I'll add a note to add an option for a future version:

[ x ] Open in new window

Sound good?
Dave Edis - Senior Developer
interactivetools.com