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
2500
Can igTextEditor be created as to permit multiple-line of data?
posted

When creating the igTextEditor control is there is way to have it created as a <textarea> rather than <input type="text">? or is there a way to make it behave like <textarea> ? This is primarily because of how it works with IE. When pasting text containing an LF character in the string, the LF and everything after it is truncated (a problem with IE).

I'm using igniteUI 19.1.

  • 17550
    Offline posted

    Hello Ray,

    Thank you for posting in our community.

    What I believe may help you achieve your requirement is setting the textMode option of the igTextEditor to "multiline". In this scenario multiline editor based on TEXTAREA is created. For example:

    //Initialize
    $(".selector").igTextEditor({
        textMode: "multiline"
    });

    Please test this on your side and let me know how if you need any further assistance with this matter.