Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Change Ordered List numbering
posted

Hi,

Is it possible to change the ordered list default behavior.  For instance something like this:

1.    one

2.    line two

       2.1    line two one

       2.2     you get the picture..

Then perhaps use     a)   b)   c)    and   1)    2)  3)   

Thanks,

Dawie

  • 24497
    posted

    Hi Dawie,

    Similar is not supported.
    The "list" actions used by WebHtmlEditor is nothing more than wrappers for

    document.execCommand("insertorderedlist", ...);
    and
    document.execCommand("insertunorderedlist", ...);

    Actual insert-action and specific objects (like <UL> or <OL>) is defined by built-in functionality of browser, but not by WebHtmlEditor. Under IE that is possible to modify appearance of those objects using global css classes, but that will affect all content of page and it will be not related to WebHtmlEditor. Global css classes will not work for not IE browsers, because editing area is represented by <iframe> and it has its own document and it can not use css classes located in parent window.