Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

SS3.x Prevent TinyMCE from rewriting links


Go to End


1307 Views

Avatar
obj63mc

Community Member, 25 Posts

18 August 2012 at 4:18am

When I am setting up custom html content in TinyMCE sometimes I will had code a link to say href="/" By default tinyMCE is rewriting this to be the BaseURL. I edited the TinyMCE config and then set 'document_base_url' to be blank but then this rewrites the link to "../"

How can I setup tiny MCE to stop rewriting links in general.

TIA