Support » Plugin: Always Edit In HTML » [Plugin: Always Edit In HTML] A Small Bug…

  • Resolved Sarah


    Hey there!

    Thank you for the awesome plugin, it’s just what I was looking for.

    The one thing I’m finding to be a problem, however, is when using textarea tags in the html section. The main reason I wanted this plugin was because I have a couple pages where I have copy/paste codes and I wanted to make sure the pages didn’t get re-formatted by WordPress.

    So when I add in a < textarea >some text</ textarea > code, what happens i that everything after (and including) the closing textarea tag doesn’t show up in the edit area. It dosn’t look like it’s lost, but it shows up as regular text under the edit area.

    I don’t know how/why, but it looks to me like my closing textarea tag is actually closing the main edit area instead.

    It’d be great to get that smoothed out, but otherwise, awesome and very useful plugin!

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


    I’ll look into the issue and update here.

    Plugin Author Wil


    Hi @imloving

    I had a look into the hooks and code at the weekend.

    Unfortunately, it seems that by removing the ability to use the rich editor (that’s how the plugin removes both Visual and HTML tabs), the content is not getting processed for special HTML codes that may conflict with the tinyMCE editor such as < textarea >

    I experimented by using CSS to remove the tabs but this causes more problems than it fixes.

    The editor can’t be changed dynamically – only the default editor can be changed and that will affect all pages.

    At present I don’t see a fix for your particular problem but will continue to look it.

    The only work-around I can suggest is to use a plugin with shortcodes to get your textarea working with this plugin.

    Not a great solution I know.

    I’ll include this as a known issue with the plugin doc.

    Sorry, Wil.

    Thanks for looking into it Wil! I know what your’e saying.

    I actually found a shortcode plugin (Deactivate Visual Editor) that seems to be working with the textareas.

    Don’t know if that helps, but looking at whatever they seemed to do for their code might help out with fixing it.

    But thanks for checking into it! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Always Edit In HTML] A Small Bug…’ is closed to new replies.