Using Bullet List in RadEditor

4 posts, 0 answers
  1. Long
    Long avatar
    2 posts
    Member since:
    Sep 2013

    Posted 24 Feb 2014 Link to this post

    In IE 11, if I placed my cursor after my paragraph and click the Bullet List option, it includes my paragraph in a bullet list also. You can try it yourself on the Telerik demo site.

    http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx

    Place your cursor after this paragraph, then click the Bullet List button. You will see the paragraph is part of the list.

    RadEditor is not simply an HTML1 Editor. It is what Microsoft chose to use in MSDN, CodePlex, TechNet, MCMS and even as an alternative to the default editor in SharePoint. Whether you need a mere Textbox with Google-like spellchecker, or a Word-like content authoring environment, the result is the same: clean XHTML output, fast rendering, widest cross-browser support, and tons of features:
      Anyone knows how to fix this?

    1. Ianko
      Admin
      Ianko avatar
      1900 posts

      Posted 26 Feb 2014 Link to this post

      Hello Long,

      Note that the logic of the bullet list is exactly as you described. When the cursor is placed in a paragraph, and the insert list command is invoked, the paragraph is transformed into a list item with a bullet.

      Every rich text editor behaves such and this should be the expected behavior. You can examine this screencast.

      I suggest also checking this help article, in which is mentioned about how the 

      Regards,
      Ianko
      Telerik
      If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
    2. Long
      Long avatar
      2 posts
      Member since:
      Sep 2013

      Posted 26 Feb 2014 in reply to Ianko Link to this post

      Hi Lanko,

      I placed my cursor after my paragraph, NOT in a paragraph.

      Thanks,
    3. Ianko
      Admin
      Ianko avatar
      1900 posts

      Posted 26 Feb 2014 Link to this post

      Hi Long,

      Thank you for getting back.

      In the provided article is mentioned why this is encountered. In the RadEditor control the default NewLineMode is the BR. The <br/> element is a carriage return and you should note that using this to create new lines does not close the paragraph. This is why the whole block is inserted into one bullet point.

      In MS Word same results will appear if the Shift+Enter is used for new line. Please review this screencasts to examine this behavior in MS Word and the same in RadEditor.

      You can also examine this KB in which also possible solutions are provided. I recommend trying if changing the NewLineMode to P value fits your requirements.

      Regards,
      Ianko
      Telerik
      If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
    Back to Top