Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6704273
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:16:10+00:00 2026-05-26T07:16:10+00:00

Update: After posting on the TinyMCE forum (something I should have done before offering

  • 0

Update: After posting on the TinyMCE forum (something I should have done before offering the bounty) the primary issue may be solved, but I’m still very much open to anything regarding the other issues of how to disable the resizable behavior (number 2 and 3 at the end of the post).


I am having trouble saving content with TinyMCE in IE8 (not other versions). In IE, certain elements in the editor have handles in each corner and draggable “borders”, and when you focus in to start editing, a striped border may appear:

enter image description here

Problem:

If I submit the form while the thick border is still visible (state 3 in the image), the form will not save the content. I have to click into another area of the editor to make all the borders disappear, and then submit the form.

I’m Using the TinyMCE 3.4.6 jQuery package, I don’t get this behavior in other browsers.


Update:

I’ve narrowed down the cause of the issue quite a bit and found a few things:

  • The problem occurs with or without the jQuery build, and does not depend on which tinymce plugins are in use.
  • The thicker “border” only seems to appear when there is a (min-)height/width applied to the element, either declared inline or from external CSS.
  • Using IETester, I was getting errors that claim 'length' is null or not an object when focus from the active element is lost; i.e. when you click anywhere outside the TinyMCE editor.

    enter image description here

    I did not see this error in a true IE8 install (something I currently can not access), however: this makes sense somewhat, considering the problem and workaround stated above. I had to hit submit twice and dismiss the warnings to get the form to post in IETester.

  • These borders and handles will actually extend outside of the editor/iframe:
    enter image description here

I created a live bare-bones demo, here is the content of it:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script type="text/javascript" src="tiny_mce/jquery.tinymce.js"></script>
<script type="text/javascript">
    $(function() {
        $('textarea.tinymce').tinymce({
            script_url : 'tiny_mce/tiny_mce.js',
            content_css : 'test.css'
        });
    });
</script>

<form action="" method="post">
<textarea class="tinymce" name="content">&lt;p&gt;Testing&lt;/p&gt;</textarea>
<button type="submit">Submit</button>
</form>

/* Content of test.css */
p {
    min-height: 24px; /* this line makes the handles appear */
    background-color: #f00;
    color: #fff;
}

How to reproduce:

  1. Open the demo in IE8
  2. Click on the existing paragraph, a small 1px border should appear, and you should be unable to edit the text.
  3. Click on the element again, now the thick border appears and text can be edited.
  4. Type a few characters, then click the submit button. The update will not be sent with the $_POST data. If you were to click another area inside the editor, removing the thick border, the data would be sent normally.

Questions/Issues:

  1. Important: How can I get the form to post the edited text without requiring a workaround from the user?

    Update: This seems to be resolved in a recent commit from the TinyMCE lead developer. I still have been unable to test on a real IE8 install, but this worked and silenced the errors in IETester.

  2. Less important: Is there any way to prevent or remove the handles and draggable edges completely? I’m guessing this is a concern with IE’s implementation of contentEditable and not so much TinyMCE, and may not even be the cause of the problem.

  3. Extra: How can I prevent these handles from extending outside the editor?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:16:11+00:00Added an answer on May 26, 2026 at 7:16 am

    alright this is a weird IE8 bug. I’ve found a workaround but still the tinymce team should fix this.

    I’ve found out that before submitting the form you could set the content of the textarea to the content of the textarea… Sounds weird but calling the .html() triggers a tinymce event that returns the correct html.

    $("button").click(function() { 
        $("textarea").html($("textarea").html());
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table which is updated with ajax and after update it if
I have a listview which has its datasource changed after update of a search
After posting this question MySQL update or insert or die query I've change to
Update : It occurred to me after posting this question that the main downside
Update: After playing around with this for a few hours, went with a multi-query
Update: After some more reading I see that this problem is totally general, you
Is it possible to update the same view with new data? Using UPDATE after
I'm trying to write an after update trigger that does a batch update on
If I raise an error in an AFTER UPDATE trigger in Sql Server 2005,
How to disable auto Update Maven Dependencies after saving a pom.xml in Eclipse IDE

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.