Home Search Member List Faq Register Login  
UltimateEditor
Re: How to Edit UltimateEditor HTML content before loading Design Tab.

Thread Starter: hanumantharao   Started: 06-23-2014 6:09 AM   Replies: 2
 Karamasoft Support Forums » General Discussions » UltimateEditor » Re: How to Edit UltimateEditor HTML content before loading Design Tab.
 Printable Version    « Previous Thread   Next Thread »
  23 Jun 2014, 6:09 AM
hanumantharao is not online. Last active: 6/23/2014 7:54:18 AM hanumantharao

Not Ranked
Joined on 12-03-2012
Posts 2
How to Edit UltimateEditor HTML content before loading Design Tab.
Hi Team,

I want to Edit HTML content in UltimateEditor, before loading Design Tab.

Below is my scenario:
I have pasted HTML script in UltimateEditor from clip board on (HTML Tab).

Now, I am going to click on Design Tab, However before displaying design text, I want to clean my HTML by calling any Jquery function.

Can you please help me out. Which event I should use in this particular scenario.

Thanks in advance!!.
 




  
  18 Jun 2015, 12:21 AM
MHope is not online. Last active: 6/18/2015 12:52:18 AM MHope

Not Ranked
Joined on 06-18-2015
Posts 1
Re: How to Edit UltimateEditor HTML content before loading Design Tab.
I am also interested in this. Can we change the editor's view from Design view to HTML view by entering some javascript command (like changing the focus from one ultimateeditor tab to another) in the page's form.load?

  
  18 Jun 2015, 9:41 AM
Karamasoft is not online. Last active: 11/10/2017 3:24:14 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,818
Re: How to Edit UltimateEditor HTML content before loading Design Tab.
You can simulate the click event of the HTML tab as follows:

document.getElementById('<%=UltimateEditor1.ClientID%>DesignTab').click();

Note that you need to change "UltimateEditor1" to the server-side ID of your UltimateEditor component.

Please refer to http://forums.karamasoft.com/ShowPost.aspx?PostID=13131 to see more details on how to call this method by using the _OnLoad function template of your UltimateEditor component.

  
 Page 1 of 1 (3 items)
Karamasoft Support Forums » General Discussions » UltimateEditor » Re: How to Edit UltimateEditor HTML content before loading Design Tab.

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2018 Karamasoft LLC. All rights reserved.