talltaco
Forum Replies Created
-
Forum: Plugins
In reply to: [Global Content Blocks] Screwed up formatting in Content Blocks… tags = code tags
< c o d e >
…
< / c o d e >Forum: Plugins
In reply to: [Global Content Blocks] Screwed up formatting in Content BlocksHey,
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