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.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

HTML editor changes my code


Go to End


10 Posts   6968 Views

Avatar
bummzack

Community Member, 904 Posts

4 August 2010 at 8:09pm

@borriej Ouch! That code really makes me cringe. Why would you add stuff like this to a div, where you could simply use regular <a> tags that do the same by design? There are so many arguments against stuff like this... what about SEO for a start? Search engines won't follow links that are triggered via script.

Avatar
CaptainParty

Community Member, 1 Post

27 January 2011 at 5:59pm

Edited: 27/01/2011 6:05pm

This is a VERY VERY frustrating feature of the HTML editor. It should have at least a simple check box that you could turn off. If your in the back end of a website like this, you probs have a decent idea of how to code.

I am simply trying to embed some 2x youtube and 2x vimeo links in separate iframes but it keeps changing the tags to random shiz and wrecking the site (but only when i save and publish, looks fine in the content window after i click insert <sarcasm font>Which is another fantastic feature!!</font>

Is there a way of stoping this noob editor changing my code?

Go to Top