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

Fixed Editor removes a line break after list items...

Discussion in 'Resolved Bug Reports' started by Jaxel, Oct 31, 2010.

  1. Jaxel

    Jaxel Well-Known Member

    lets say I make a post like this:

    When I go to edit it... it will appear like this:

    No matter what, the system always removes a line break after a list... It shouldn't do this.
    Grover likes this.
  2. Digital Doctor

    Digital Doctor Well-Known Member

    • Line 1
    • Line 2
    • Line 3
    • Line 4
    • Line 5
    I hit enter twice to get here.
    Next line.

    • Line 1
    • Line 2
    • Line 3
    • Line 4
    • Line 5
    I hit entire three times to get here.

    Even if you put 2 blank lines after the list, both are removed.
  3. Luke F

    Luke F Well-Known Member

    Unless I am mistaken, this seems to be fixed here on xenforo.com
    MCTSS likes this.
  4. Jaxel

    Jaxel Well-Known Member

    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    nope... not fixed.
  5. Luke F

    Luke F Well-Known Member

    My bad, forgot I worked around it with [indent=1][/indent] spam :oops:
  6. Jaxel

    Jaxel Well-Known Member

    pfft... go back to figuring out what I need to fix in my mods to get it working with your AzuSEO.

    BTW... you should use [plain] instead of nesting [b][/b] in your code.
    Darkimmortal likes this.
  7. Shamil

    Shamil Well-Known Member

    IF it's an issue due to the editor, I am unsure whether XenForo can readily apply a fix to it. Either way, there's a update available to TinyMCE.
  8. digitalpoint

    digitalpoint Well-Known Member

    Just on a side-note, I upgraded TinyMCE to the latest version for my dev XF install (, and it still happens with that version.
    CyclingTribe and Darkimmortal like this.
  9. cclaerhout

    cclaerhout Well-Known Member

    This problem seems to be fixable:

    Class: XenForo_BbCode_Formatter_Wysiwyg
    Function: public function filterFinalOutput($output)

            $output = preg_replace('#<p>[ \t\r\n]*</p>#', '<p>' . $emptyParaText . '</p>', $output);
    Add BELOW:
            $output = preg_replace('#(</(ul|ol)>)\s</p>#', '$1<p>' . $emptyParaText . '</p>', $output);
    Insy, Darkimmortal and 8thos like this.
  10. DRE

    DRE Well-Known Member

    Thanks breh
  11. DRE

    DRE Well-Known Member

    cclaerhout your awesome dude.
  12. alissablake

    alissablake New Member

    I have a form that uses a list to display its input fields in each list item.
  13. Mike

    Mike XenForo Developer Staff Member

    I believe this should be sorted in 1.2 with some tweaks to our BB code -> HTML handling.
    cclaerhout and yavuz like this.

Share This Page