Re: Installation

  •  12-06-2012, 12:23 PM

    Re: Installation

    Hi Ken

    Thanks for that. As a matter of curiousity, why didn't you say you can get the html text and plain text like this?

     

    protected void btnSend_Click(object sender, EventArgs e)

    {

    string htmlText = Editor1.Text;

    string plainText = Editor1.PlainText;

    }

     

    Couple of formatting issues. If I create text in Outlook using Word as the text Editor, when I paste it into the text box and I have said 'yes, I do want my Word text cleaned' .... bullets are appearing with no indent. If you look at the html they are as you would expect - just a pure unordered list.

     

    But if I put some bullets in here, in this textbox on this page ...

    • one
    • two
    • three

    they appear indented.

     

    Which I don't understand. The source here shows an unordered list. If I clean a Word document that has bullets - it turns them into an unordered list (i.e. identical html) but they are not indented. Is there some default css at work on this page that does not get 'called' after you clean Word generated text.

     

    Also, if I make one word in a sentence bold in a Word document and paste into the CuteEditor, clean the Word formatting - the space between the bold word and the next word disappears. Which is a bit of a drag as my clients use lots of bold formatting.

View Complete Thread