RadEditor bullets in Legacy Block mode

6 posts, 0 answers
  1. John
    John avatar
    5 posts
    Member since:
    Nov 2017

    Posted 19 Dec 2017 Link to this post

    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.

  2. Rumen
    Admin
    Rumen avatar
    13302 posts

    Posted 20 Dec 2017 Link to this post

    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.
  3. John
    John avatar
    5 posts
    Member since:
    Nov 2017

    Posted 20 Dec 2017 in reply to Rumen Link to this post

    Browser is Internet Explorer 11. See attached pictures of my source code and the browser About dialog.
  4. Rumen
    Admin
    Rumen avatar
    13302 posts

    Posted 21 Dec 2017 Link to this post

    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.
  5. John
    John avatar
    5 posts
    Member since:
    Nov 2017

    Posted 21 Dec 2017 in reply to Rumen Link to this post

    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!
  6. Rumen
    Admin
    Rumen avatar
    13302 posts

    Posted 21 Dec 2017 Link to this post

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