Problems with paragraph style

4 posts, 0 answers
  1. Jeroen
    Jeroen avatar
    19 posts
    Member since:
    Feb 2009

    Posted 06 May 2009 Link to this post

    Hi, we are using the latest version of the telerik editor (5.4.0).

    We made a custom paragraphstyles in the editor. But we have some problems in this new version, which were not in the 5.3.2 version.

    Part of the toolsfile.xml with the custom paragraph styles:
    <paragraphs> 
        <paragraph name="&lt;span class='ms-rteCustom-Headline'>Headline&lt;/span>" value="&lt;span class='ms-rteCustom-Headline'>" /> 
        <paragraph name="&lt;span class='ms-rteCustom-Headline-TeaserArea'>Headline-TeaserArea&lt;/span>" value="&lt;span class='ms-rteCustom-Headline-TeaserArea'>" /> 
        <paragraph name="&lt;span class='ms-rteCustom-Headline-TeaserArea-AccentuatedText' style='background-color: #336fa3;'>Headline-TeaserArea-AccentuatedText&lt;/span>" value="&lt;span class='ms-rteCustom-Headline-TeaserArea-AccentuatedText'>" /> 
        <paragraph name="&lt;span class='ms-rteCustom-SubHeadline'>SubHeadline&lt;/span>" value="&lt;span class='ms-rteCustom-SubHeadline'>" /> 
        <paragraph name="&lt;span class='ms-rteCustom-TextAccentuation'>TextAccentuation&lt;/span>" value="&lt;span class='ms-rteCustom-TextAccentuation'>" /> 
        <paragraph name="&lt;span class='ms-rteCustom-TextDefault'>TextDefault&lt;/span>" value="&lt;span class='ms-rteCustom-TextDefault'>" /> 
      </paragraphs> 
      

    • When I type something in the editor on the first line, and the first line is the online line that contains characters or spaces. And I select the text en give the text a new paragraph style, the style is not applied. When I put in a new line and I want to apply the style to the first line, the style is applied. In short, the styl is only applied if there is more than 1 line in the editor. (This applies to the 5.3.2 version and the 5.4 version)
    • I created a table, put in some text in the first cell. I select the test and want to apply a paragraph style. When I do that. The style is not applied and the tabel only contains the cell the text is in. Before After
          The strange thing is, sometimes an other thing happens. Sometimes the style is applied to the text, but the text is suddenly placed beneath the table: Before  After (Only in the 5.4.0 version).
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 08 May 2009 Link to this post

    Hello Jeroen,

    In the last week our developers made some improvements of the  FormatBlock tool. The fixed version of RadEditor for ASP.NET AJAX is already available for download in our internal builds. These enhancement will be implemented in RadEditor for MOSS for the SP2 of 2009.Q1 version of RadControls for ASP.NET AJAX. It is scheduled for the end of this month or the beginning of the next one. In mean time what you can do is get the Telerik.Web.UI.dll from the latest internal build put it in the GAC and add a bindingRedirect element in your web.config file.
    For example:
    <dependentAssembly> 
      <assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4"/> 
      <bindingRedirect oldVersion="2009.1.402.20" newVersion="2009.1.xxx.xx"/> 
    </dependentAssembly> 



    All the best,
    Stanimir
    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. Jeroen
    Jeroen avatar
    19 posts
    Member since:
    Feb 2009

    Posted 28 May 2009 Link to this post

    I just downloaded the latest update of the radeditor.

    But now when I type some tekst and I select it and want to give another style using the format block dropdown. The text disappears and I cannot get my cursor in to the editor.

    Screenshot

    This only occurs if the line you selected is the only line of text in the editor.

    When I use 2 lines and I select the second line and change the css using the formatblock, the second line is placed next to the first line.

    Before  After
  4. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 30 May 2009 Link to this post

    Hello Jeroen,

    Today we released a new 5.4.1 version of RadEditor for MOSS , which is based on the latest Telerik.Web.UI dll.  I think that if you upgrade with it, you will no longer have these problems.


    Regards,
    Stanimir
    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.
Back to Top