Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

WYSIWYG editor stripping off tags
  • Vote Up0Vote Down njwrigleynjwrigley
    Posts: 32Sendy user

    I realise that the WYSIWYG editor strips off some tags, such as head and html.

    I was wondering why it does this. Is there a situation in which this is desirable, or is it just that this is what the code for the WYSIWYG that you've chosen to use does this?

    If it's the latter, is there a plan to stop the tags getting stripped by amending the WYSIWYG code?

    Thanks.

  • 3 Comments
  • Vote Up0Vote Down BenBen
    Posts: 3,489Sendy support

    Hi @njwrigley,

    WYSIWYG in general strips off the <head> and <html> tags by default. It's not just Sendy's WYSIWYG editor, all WYSIWYG editors works like that. This is such that the document's head and html tags does not conflict with the code in the WYSIWYG editor.

    That is why Sendy gives you a pure HTML field in which you can switch to using.

    The WYSIWYG editor is more for casual emails and not really for full fledged HTML newsletters. Unless your newsletter HTML does not require <head> and <html> tags.

    Thanks.

    Ben

  • Vote Up0Vote Down njwrigleynjwrigley
    Posts: 32Sendy user

    Yes, I see.

    I'm wondering then if a suggestion might be to have future versions of Sendy try to see if html, head etc are present at the start of an email prior to sending to Amazon, and include them with some sensible defaults if they are not?

    I use UTF-8, but I guess that other people might not want this though.

    Thanks.

  • Vote Up0Vote Down BenBen
    Posts: 3,489Sendy support

    I'm wondering then if a suggestion might be to have future versions of Sendy try to see if html, head etc are present at the start of an email prior to sending to Amazon, and include them with some sensible defaults if they are not?

    That wouldn't be possible as I don't want to tamper with people's code.

    Thanks.

    Ben

This discussion has been closed.
All Discussions