• Hi there,

    I don’t know if this is because my hosting provider moved me to WordPress 4.0, but the formatting in my Content Blocks is getting screwed up all the time.

    Even when I only work in the Text Editor, it seems that WordPress always moves back to the Visual Editor just before saving a Content Block.

    This leads to a ton of frustration and defeats the purpose of this plug-in for me.

    Is there a way to force Content Blocks to only allow the Text Editor, not the Visual Editor?

    Thanks for any help or workarounds!
    TJ

    https://www.ads-software.com/plugins/global-content-blocks/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author benz1

    (@benz1)

    Sorry but I am unable to replicate this. All I can suggest is that another plugin or your theme is causing a conflict producing this behavior?

    Thread Starter talltaco

    (@talltaco)

    Hey,

    Thanks for your reply!

    It started with the upgrade to WordPress 4.0 I believe.

    For instance: I have a block that contains some Javascript.

    1. When I open that block now, it shows me the visual editor instead of the text editor.

    2. When I then click the Text link to open the text editor, it shows me my script, but it has been modified so that the script is now between CDATA-tags. That’s not good.

    <script>// <![CDATA[

    // ]]></script>

    3. When I put the whole thing between ... tags, it still happens.

    4. When I put it between [raw]…[/raw] tags (from the Raw HTML Plugin), I get to see the raw-tags in the final output on the page.

    This is driving me nuts :~}

    In the version log I see that you have added the Visual Editor at one point in time. Could you make that optional? For instance with a checkbox in the interface for each block, so that I can disable the visual editor for that block and just use the text editor?

    I’d be happy to pay you a donation if you can make that happen.

    — Now that I have your attention, I’d like to propose a ‘Save’ button that just saves the block, but does not close it. That would be mighty useful for me in testing out Javascript or other code. The current button brings me back to the complete list of all blocks, so that I have to press Backspace every time if I want to tweak the contents of the block a bit further.

    Thanks a lot!
    TJ

    Thread Starter talltaco

    (@talltaco)

    … tags = code tags

    < c o d e >

    < / c o d e >

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Screwed up formatting in Content Blocks’ is closed to new replies.