Paragraphquestion again (Moss Radeditor

3 posts, 0 answers
  1. Nil
    Nil avatar
    9 posts
    Member since:
    Dec 2007

    Posted 04 May 2009 Link to this post


    I have added my "own" paragraphs in the Toolsfile.xml like this:(after the tools section)

      <paragraph name="Clear formatting" value="&lt;body>" />
      <paragraph name="&lt;H1>Heading 1&lt;/H1>" value="&lt;H1>" />
      <paragraph name="&lt;H2>Heading 2&lt;/H2>" value="&lt;H2>" />
      <paragraph name="&lt;H3>Heading 3&lt;/H3>" value="&lt;H3>" />
      <paragraph name="&lt;H4>Heading 4&lt;/H4>" value="&lt;H4>" />
      <paragraph name="&lt;H5>Heading 5&lt;/H5>" value="&lt;H5>" />
      <paragraph name="&lt;H6>Heading 6&lt;/H6>" value="&lt;H6>" />


    Selecting Heading 1-6 works just fine, but not the "clear formatting" one. Any idea what I am doing wrong here?
    Sometimes I've been able to get an error trying to select it (not always):

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618; InfoPath.2; MS-RTC EA 2)
    Timestamp: Mon, 4 May 2009 13:37:23 UTC

    Message: 'this.get_document().body' is null or not an object
    Line: 8774
    Char: 1
    Code: 0
    URI: http://tsipdev2/ScriptResource.axd?d=6X5KGxhvs4STRm41XlJ9nMALA_QnYSK1BQdP6vGxNMid8UKZc73YFS9lJ-kDseEu7yjqAJg5J655lMgPgoiBCcqPkTFmZ79OHA69tHHgkc0JkkEULpPjMBnH3wfbzs2r0&t=ffffffffa52cf09d

  2. Rumen
    Rumen avatar
    13233 posts

    Posted 06 May 2009 Link to this post

    Hello Nil,

    Could you please try the following syntax :

        <paragraph name="Clear formatting" value="p" />

    and let me know if it works. Just click on the formatted content without selecting it and choose Clear Formatting.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Nil
    Nil avatar
    9 posts
    Member since:
    Dec 2007

    Posted 07 May 2009 Link to this post

    Hey, it works.
    I could swear that I tested that. ;)
    You removed the <> around the "p" tag. Wonder if it works the the H1 to H6 ones aswell...?
    Gonna try it.

    Thanks for the help

    //Thomas :)
Back to Top