Jump to:

4952 Posts in 14417 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » HTML editor changes my code

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

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

Page: 1 2
Go to End
Author Topic: 5049 Views
  • banal
    Avatar
    Community Member
    901 Posts

    Re: HTML editor changes my code Link to this post

    @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.

  • CaptainParty
    Avatar
    Community Member
    1 Post

    Re: HTML editor changes my code Link to this post

    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?

    5049 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.