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:
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="<span class='ms-rteCustom-Headline'>Headline</span>" value="<span class='ms-rteCustom-Headline'>" /> |
<paragraph name="<span class='ms-rteCustom-Headline-TeaserArea'>Headline-TeaserArea</span>" value="<span class='ms-rteCustom-Headline-TeaserArea'>" /> |
<paragraph name="<span class='ms-rteCustom-Headline-TeaserArea-AccentuatedText' style='background-color: #336fa3;'>Headline-TeaserArea-AccentuatedText</span>" value="<span class='ms-rteCustom-Headline-TeaserArea-AccentuatedText'>" /> |
<paragraph name="<span class='ms-rteCustom-SubHeadline'>SubHeadline</span>" value="<span class='ms-rteCustom-SubHeadline'>" /> |
<paragraph name="<span class='ms-rteCustom-TextAccentuation'>TextAccentuation</span>" value="<span class='ms-rteCustom-TextAccentuation'>" /> |
<paragraph name="<span class='ms-rteCustom-TextDefault'>TextDefault</span>" value="<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