C1Editor: unable to create basic elements

Posted by: john.spencer on 21 November 2017, 3:01 pm EST

    • Post Options:
    • Link

    Posted 21 November 2017, 3:01 pm EST

    Hi , I am using the C1Editor to edit html (both from design/source view and behind the scene problematically by adding Xml nodes).

    In neither of the above methods I am able to insert html elements with very basic attributes.

    For example, I can add:

    works ok

    but

    throws an error “Cannot load or validate XML document because of the following errors: ‘number’ is not in the enumerations list”

    same story with

    It seems the editor does not support any html5 attributes? is there a way around this? otherwise this is too restrictive.

  • Posted 23 November 2017, 3:02 am EST

    Hi John!

    The simplest way to support HTML5 tags is using custom tags. Please refer to “CustomTags” sample in ComponentOne samples installed along with your product(s), at the given location:

    \Documents\ComponentOne Samples\WinForms\C1Editor\CS\CustomTags

    Regards,

    Meenakshi

  • Posted 23 November 2017, 6:46 am EST

    Alwasome, thank you Meenakshi, I will have a look.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels