WordPress.org

Ready to get started?Download WordPress

Forums

Global Content Blocks
[resolved] Carriage returns not inserted in posts. (5 posts)

  1. quadc3
    Member
    Posted 1 year ago #

    Hello again. I'm now seeing that when I have carriage returns in my content blocks, it's not inserting into posts.

    Here is a saved screenshot of my content block.
    GCB Edit

    Here is what it looks like when I insert it into a post.
    GCB Insert

    Is this normal?

    http://wordpress.org/extend/plugins/global-content-blocks/

  2. benz1
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry, can't access your screenshots but are you definitely adding them in the visual editor and not html? My guess is that you're using the html editor where line breaks are ignored.

  3. quadc3
    Member
    Posted 1 year ago #

    Yes, I'm definitely using the visual editor and choosing General from the content type dropdown. It will retain other formatting I have added: Bold, italics, numbered lists. It just does not retain line breaks.

    Try these links:
    Here is a saved screenshot of my content block.
    GCB Edit

    Here is what it looks like when I insert it into a post.
    GCB Insert

  4. benz1
    Member
    Plugin Author

    Posted 1 year ago #

    I am unable to replicate this issue. As there is no space between your lines it looks like you used Shift-Enter to move to the next line rather than Enter on its own? I tried both, (see http://screencast.com/t/bhoqh1sR7uZ), then added the block to a post and it displayed correctly, (see http://screencast.com/t/0jIkJpVIpNhu).

    All I can suggest is it's an issue with your configuration or a conflict with another plugin?

  5. quadc3
    Member
    Posted 1 year ago #

    I figured it out. In the TinyMCE settings, I had to make sure the following was checked:

    Stop removing the < p> and
    tags when saving and show them in the HTML editor

    Everything is working great now! Thanks for the direction :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.