Custom Begin Tag Removed using PasteHTML

  •  05-02-2006, 11:42 AM

    Custom Begin Tag Removed using PasteHTML

    I have a page with a Cute Editor.NET (.NET 2.0 Site) wherein I'm trying to insert a custom tag using PasteHTML().  There are some oddities indeed:
    • PasteHTML('<placeholder id='blah'><span>Some Text</span></placeholder>') will strip the placeholder tags
    • PasteHTML('<placeholder id='blah'><span>Some Text</span></placeholder>') will strip the beginning 'placeholder' tag if I set DisableAutoFormatting to True
    • PasteHTML('<div>Some Text</div><placeholder id='blah'><span>Some Text</span></placeholder>') with DisableAutoFormatting = True will not strip ANY of the placeholder tags!
    Am I missing something here?!  I can replicate this exact behavior here: http://cutesoft.net/example/howto/AddButtons/cs/create_a_custom_button.aspx
    Any help would be much appreciated.

View Complete Thread