Paragraph tags not added on return

6 posts, 1 answers
  1. Ciaran Fletcher
    Ciaran Fletcher avatar
    5 posts
    Member since:
    Feb 2006

    Posted 19 Sep 2008 Link to this post

    I am working on a Sharepoint 2007 site which has the full  RadEditor for Sharepoint 5.1.0.0

    When entering content and I hit <Return>, the radEditor inserts a <br /> instead of a <p> tag.
    Is this possible to change and how would I do this?

    A second question:
    We have several RadEditor instances on the page and would like them to be different widths. How do i specify that the radEditor should use a different Config File? I presume it is the ConfigFile setting that specifies the width of the Editor?

    thanks.

  2. George
    Admin
    George avatar
    859 posts

    Posted 23 Sep 2008 Link to this post

    Hi Ciaran,

    Could you please open a support ticket and send us a sample video that demonstrates the behavior? What are the exact steps to reproduce it? The exact test content?  What is the editor's configuration? Under which browser are you testing? We will check the details locally and our best to provide a solution.

    Regarding the second question:
    Could you please clarify what is your exact scenario? How have you set the different instances of RadEditor on the desired page? In general, you can specify the desired width, by setting the editor's width property in the respective ConfigFile.xml

    Sincerely,
    George
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

  3. Ciaran Fletcher
    Ciaran Fletcher avatar
    5 posts
    Member since:
    Feb 2006

    Posted 24 Sep 2008 Link to this post

    Second question on Width is fine. I have sorted that out.
    First question, I will open a support ticket, but I fail to see what the difficulty is in understanding the question.

    On the MCMS RadEditor, there were two options for the behaviour when the user hit <enter>; one would insert a <br />; the other would insert a <p> paragraph. I just want to know if the Full RadEditor for Sharepoint 5.1.00 has the second option, as the current behaviour is the first ( to insert a <br />).
    We need it to insert paragraph tags.

    thanks,
    Ciaran
  4. Answer
    George
    Admin
    George avatar
    859 posts

    Posted 24 Sep 2008 Link to this post

    Hi Ciaran,

    Yes, you can configure the editor to insert Paragraphs when hitting enter, by setting the editor's NewLineBr property to false, in the respective ConfigFile.xml e.g.
    <property name="NewLineBr">False</property>

    For convenience, I prepared a sample video that demonstrates how to achieve the desired behavior.

    I hope this helps.

    Kind regards,
    George
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Ciaran Fletcher
    Ciaran Fletcher avatar
    5 posts
    Member since:
    Feb 2006

    Posted 24 Sep 2008 Link to this post

    That is exactly what I was looking for. Thank you.

    I have not found anywhere a description of the possible elements that may be in the Configfile.xml and their effect. I have seen in the help how certain functions can be controlled through the Configfile.xml. Is there any location or document you can point me to?

    thanks,
    Ciaran
  6. George
    Admin
    George avatar
    859 posts

    Posted 24 Sep 2008 Link to this post

    Hi Ciaran,

    For reference you can review the RadEditor for ASP.NET AJAX online help. All server properties you can set inline in the editor's declaration (in the ASPX) can be set in the ConfigFile.xml.

    I hope this helps.

    Kind regards,
    George
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top