I am using AjaxControlToolkit4 and am using the HTMLEditor. When I save the contents of the editor, or switch the mode from Design mode to HTML mode and back to Design mode, the paragraphs between text are gone! It always reverts back to single spacing
in between lines. I already clicked the "Make Paragraph" button, which didn't work. I also clicked the "Remove Styles" button.
The enter key is listed as <p style="text-align: center; margin: 0px"></p> in the html mode. If I change it to look like "<p></p>", that's when it works.
tinac99
Member
74 Points
137 Posts
AjaxControlToolkit HTMLEditor
Feb 22, 2012 01:30 AM|LINK
Hi,
I am using AjaxControlToolkit4 and am using the HTMLEditor. When I save the contents of the editor, or switch the mode from Design mode to HTML mode and back to Design mode, the paragraphs between text are gone! It always reverts back to single spacing in between lines. I already clicked the "Make Paragraph" button, which didn't work. I also clicked the "Remove Styles" button.
The enter key is listed as <p style="text-align: center; margin: 0px"></p> in the html mode. If I change it to look like "<p></p>", that's when it works.
Please help!
tinac99
BU XI - MSFT
All-Star
22367 Points
2704 Posts
Microsoft
Re: AjaxControlToolkit HTMLEditor
Feb 24, 2012 01:38 AM|LINK
Hello
Please check if you have click the "Justify Center" icon, if it is, then "Make Paragraph" won't come into effect.
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework
chetan.sarod...
All-Star
65739 Points
11138 Posts
Re: AjaxControlToolkit HTMLEditor
Feb 24, 2012 02:31 AM|LINK
Hi, Please refer this
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/HTMLEditor/HTMLEditor.aspx and http://www.asp.net/ajaxlibrary/act_HTMLEditor.ashx
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
tinac99
Member
74 Points
137 Posts
Re: AjaxControlToolkit HTMLEditor
Feb 24, 2012 04:10 PM|LINK
Thanks for the reply, guys. I did have the paragraph centered. I needed to click the "Remove Alignment" button so that the breaks remain there.