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

RadEditor bullets in Legacy Block mode

5 Answers 92 Views
Editor
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 19 Dec 2017, 07:28 PM

I've got an application with lots of existing text from a prior version of the RadEditor (2014), and it's all in NewLineMode = Br, so the lines are separated by <br/> tags. One option I read about was putting in a bit of JS which lets the new version (2017.3.913) use "legacy behavior" for block comments, such as bulleting lines of text. I tried it, but found it had another problem: It would duplicate the lines it was bulleting. See attached images for the "story".

This is low priority for me, since I've already decided not to use Legacy mode anyway (nor BR line mode). Otherwise I would be opening a ticket. But since it's not that important to me, I thought I'd just ask about it here, and see if anyone else has noticed this, or if the company is already aware of it.

5 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 20 Dec 2017, 07:51 AM
Hi,

Can you please specify under which browser do you test the legacy Insert Ordered and Unordered List commands? I am unable to replicate any problems in Chrome and Firefox with the latest build 2017.3.913 of RadEditor and this configuration:

<telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
<script type="text/javascript" src='<%= Page.ClientScript.GetWebResourceUrl(typeof(RadEditor), "Telerik.Web.UI.Editor.RadEditor.Commands.LegacyCommands.js") %>'></script>
<script type="text/javascript" src="<%= Page.ClientScript.GetWebResourceUrl(typeof(RadEditor), "Telerik.Web.UI.Editor.RadEditor.Commands.LegacyInlineCommands.js") %>"></script>
 
 
<telerik:RadEditor ID="RadEditor1" runat="server" NewLineMode="Br">
    <Content>
Header<br />
    <br />
    Line 1<br />
    Line 2<br />
    Line 3<br />
    <br />
    Footer
    </Content>
</telerik:RadEditor>




Regards,
Rumen
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
John
Top achievements
Rank 1
answered on 20 Dec 2017, 03:19 PM
Browser is Internet Explorer 11. See attached pictures of my source code and the browser About dialog.
0
Rumen
Telerik team
answered on 21 Dec 2017, 11:28 AM
Hi,

Thank you for the extra details. I managed to repro the problem in IE11 and since the solution, which was based on the original code of the commands, was released prior the official release of IE11, this browser version is not supported by the Insert Ordered and Unordered List legacy commands.

The suggested approach is to use the new commands, which follow strictly the MS Word way of creating bullets and which works properly in the modern browsers.

Best regards,
Rumen
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
John
Top achievements
Rank 1
answered on 21 Dec 2017, 01:36 PM
Thanks! As I said, I'd already decided not to use the Legacy option anyway, and also to go forward with the P newline, so I'm all set. But it's always good to know the explanation for something, and now you'll know what's going on if anyone else reports the same problem. Have a good day and happy holiday season!
0
Rumen
Telerik team
answered on 21 Dec 2017, 03:22 PM
You are absolutely right and I do appreciate your contribution to the community. 

Your points were updated accordingly too.

Happy Holidays!

Regards,
Rumen
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Editor
Asked by
John
Top achievements
Rank 1
Answers by
Rumen
Telerik team
John
Top achievements
Rank 1
Share this question
or