WordPress.org

Ideas

Have a editor tab for 'HTML'

  1. London Accountant
    Member

    12345

    Need a way to manually code valid HTML when the visual and text editor tabs let you down.

    Switching back to the other tabs should also not undo what you have just coded.

    For example, currently if you add rich snippet markup to the Text tab and then switch to the Visual tab it removes it all!

    It would be great if you could say add a shortcode in the Visual tab, then switch to the HTML tab and see what it was actually adding. I know you can do this by testing/publishing the page and looking at the source code, but being able to edit it for correct HTML markup would be fantastic.

    Posted: 10 months ago #
  2. Ipstenu (Mika Epstein)
    Administrator

    For as long as we stick with tinymce, this is alas the way it will be, unless someone can fix that within tinymce. It's not really a WP bug, but the 3rd party tool we use.

    Posted: 10 months ago #
  3. London Accountant
    Member

    12345

    Hi Mika

    Thanks for the reply!

    I am no expert in WYSIWYG editors but on a quick cursory glance CKEditor looks like it gives you access to HTML code...

    http://ckeditor.com/demo

    Looks like Drupal is moving to this also...

    https://www.drupal.org/node/596966

    Posted: 10 months ago #
  4. London Accountant
    Member

    12345

    Just spotted that there is a plugin for CKEditor - but seems to be rather old (2012) and has security vulnerabilities..

    http://wordpress.org/support/view/plugin-reviews/ckeditor-for-wordpress

    Perhaps if the latest version was incorporated into core WP then these issues would go away?

    ...sorry but I really really dislike the current editor WP uses and even in the Text tab I write/edit in Notepad++ and just paste into WP.

    Posted: 10 months ago #
  5. Ipstenu (Mika Epstein)
    Administrator

    It's been brought up a few times. TinyMCE has more extendability right now, and while it's certainly something to think about, it requires a lot of changes.

    That said... Having shortcodes display in the post editor is actually something we're working on. Already we've got galleries working, and next up is embeds (youtube etc) so it's certainly moving forward.

    The other part of the issue is that we are, intentionally, stripping 'dangerous' code from the GUI editor, for security. So switching back and forth, even with CKEditor, is risky and WP's users, who tend to be less super-technical than Drupal's in my experience, need that protection.

    Posted: 10 months ago #
  6. London Accountant
    Member

    12345

    I see, many thanks for the clarifications Mika

    Looks like I will continuing with Notepad++ for a while :)

    Posted: 10 months ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    1 Vote
  • Status

    Sorry, not right now