Setting a template by javacript SetHTML function

Last post 08-09-2011, 7:19 AM by hrm123. 2 replies.
Sort Posts: Previous Next
  •  08-08-2011, 12:13 PM 69407

    Setting a template by javacript SetHTML function

    Hi,
     
    When I use SetHTML(content) function of cuteeditor on client side using javascript, the content which is set is not editable. The same content is editable when I open the content through the 'Insert Template' button.
    Is this is known behavior or do I have to do some additional coding for cute editor to know that the content being set is actually a template?
     
    Thanks in advance,
    Ram.
  •  08-09-2011, 7:07 AM 69442 in reply to 69407

    Re: Setting a template by javacript SetHTML function

    Hi hrm123,
     
    Can you reproduce this issue on demo http://cutesoft.net/example/JavaScript-API.aspx?
     
    Put your code into the textarea and then click the "set html" button.
     
    It works fine for me.
     
    Regards,
     
    ken
  •  08-09-2011, 7:19 AM 69443 in reply to 69442

    Re: Setting a template by javacript SetHTML function

    Hi Ken,
    When I put my template code into the editor above and click on SetHTML button the content is becoming empty. Could you please try replicating the issue with the test_template_rm.htm file that I had sent through direct email to you.
    Thanks,
    Ram.
View as RSS news feed in XML