1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug Editor gobbles up blank lines after editing an existing post

Discussion in 'Resolved Bug Reports' started by jauburn, Feb 9, 2015.

  1. jauburn

    jauburn Well-Known Member

    When I edit an existing post to add blank lines (Shift-Enter), the editor gobbles up (removes) blank lines inserted previously in the same fashion.
     
  2. Mike

    Mike XenForo Developer Staff Member

    We'll need specific steps to reproduce this. Shift-enter worked as expected for me.

    If you need to setup a post in such a way to demonstrate it, please use the test forum.
     
  3. jauburn

    jauburn Well-Known Member

    Let me test this here.
    1. Do this.

      01search.png

    2. Do this.

      02search.png

      The result is this.

    3. Test one two.
     
  4. jauburn

    jauburn Well-Known Member

    Hmm. Seems to work. Maybe it has something to do with the TinyMCE editor we're using.
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    If you are using a third party editor then you will need to seek support from the developer.
     
  6. cclaerhout

    cclaerhout Well-Known Member

    @jauburn
    It looks I will have to update a few things on my addon (some XenForo code has been modified), but the XenForo html<=>Bb Code conversion for the list is no more accurate.

    Both of the below lists will produce the same result (we're in Bb Code here):
    Code:
    List 1
    [LIST]
    [*]a
    
    [*]b
    [/LIST]
    
    • a
    • b

    List 2

    Code:
    [LIST]
    [*]a
    [*]b
    [/LIST]
    
    • a
    • b

    To have a blank line in a list, the cariage return must be doubled
    List 3:
    Code:
    [LIST]
    [*]a
    
    
    [*]b
    [/LIST]
    
    • a

    • b
     

Share This Page