This is a migrated thread and some comments may be shown as answers.

Paragraphquestion again (Moss Radeditor 5.4.0.0)

2 Answers 55 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Nil
Top achievements
Rank 1
Nil asked on 04 May 2009, 02:00 PM

Hi.

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

<paragraphs>
  <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>" />

</paragraphs>

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 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 06 May 2009, 04:22 PM
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,
Rumen
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.
0
Nil
Top achievements
Rank 1
answered on 07 May 2009, 02:05 PM
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 :)
Tags
WebParts for SharePoint
Asked by
Nil
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Nil
Top achievements
Rank 1
Share this question
or