WordPress.org

Ready to get started?Download WordPress

Forums

Embed html code Visual Editor missing on WP 3.9 (6 posts)

  1. thanhluan710
    Member
    Posted 3 months ago #

    Hi all.
    I upgraded WordPress to Version 3.9 and I have a problem with Visual Editor.
    My site is for coupon. When I write a post on Visual Editor on "Visual" tab and I want insert html code, I move "Text" tab. For example code:

    Click here to WordPress:
    <p><input onclick=" window.open('http://wordpress.org/');" type="button" value="WordPress"/></p>

    Well done. A post is successful but When I update post, I see:

    Click here to WordPress:
    <input type="button" value="WordPress" />

    Link was lost. I can not open a new tab when click button. On WordPress version 3.8.3, all is good. I turned off all plugin but not success. I install new site with WP 3.9 but same.

    Please me. Thank you.

  2. JumboClicks
    Member
    Posted 3 months ago #

    You must always insert html code in the text view then save.

    switching to visual editor mode may eat your html

    viewing a previously written page with html code in the visual editor may eat your code.

    in other words it does not always work

    You can turn off the visual editor in your user profile page.

  3. Hardeep Asrani
    Member
    Posted 3 months ago #

    For the sake of God, please don't use the Visual editor when you're working with codes.

    Are you sure it was working with 3.8?

  4. Hardeep Asrani
    Member
    Posted 3 months ago #

    Plus, use the following code to open links in new tab:

    <input type="button" target="_blank" value="WordPress" />

  5. Abhishek Ghosh
    Member
    Posted 3 months ago #

    TinyMCE related error.
    I lived with plain HTML input for many years before Parker version was released! If you want a temporary fix, go to http://your-site.com/wp-admin/profile.php and check the [ ] Disable the visual editor when writing option, save it. Logout and clear browser cache. Visual will be fully off but actually it might be working solution for you. You need to manually edit those existing posts.

    Search with terms like TinyMCE Error in the Search wordpress.org field, you'll get some your kind of peoples ans solutions. You can read this one - http://wordpress.org/support/topic/tinymce-not-loading-in-wordpress-313?replies=2

  6. thanhluan710
    Member
    Posted 3 months ago #

    @Hardeep Asrani: I tested this vesion and working. I will try to follow the way by @JumboClicks and @Abhishek Ghosh.

    Thank all.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.