WordPress.org

Support

Support » Plugins and Hacks » Post Editor Buttons Fork » [Resolved] Line break

[Resolved] Line break

  • I get a line break before and after inserting an H1, H2, etc. element.
    So far, all the Span elements work as expected.

    I’ve tried the plugin in several different themes with the same result.

    This was on WP 3.1.4 MultiSite.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I don’t think this is about your plugin. It looks more like a WordPress problem.

    Plugin Author Kailey (trepmal)

    @trepmal

    Volunteer Mod & Reviewer

    Sorry for the late response – I’ve been a bit under the weather.

    I was unable to replicate the issue on any of my WordPress test installs. There could be interference from another plugin, or maybe some browser settings.

    If you figure out or learn more about the issue, feel free to post it here in case other users are experiencing the same problem.

    Thanks. I’m still looking into it. I can see from other comments in the forum that this isn’t a new problem.

    There is a line break before and after every < div > < p > and any h1, h2, h3, etc. elements.

    I’ll post back when I find a solution.

    Plugin Author Kailey (trepmal)

    @trepmal

    Volunteer Mod & Reviewer

    Some of the default buttons for block level tags (<blockquote>, <ul>) come with line breaks, but I’m not sure how these would get added to any of the custom buttons.

    http://core.trac.wordpress.org/browser/trunk/wp-includes/js/quicktags.dev.js

    If toggling between HTML and Visual mode, the line breaks are probably due to TinyMCE/WordPress code formatting.

    Actually, by using “span” and “style” I can create my own versions of block elements like < h1 > and decide whether I want line breaks or not. So that is what I did with your plugin. And I can use “H1”, “H2”, etc. for their titles.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Line break’ is closed to new replies.
Skip to toolbar