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 7580015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T17:48:43+00:00 2026-05-30T17:48:43+00:00

I have 2 (or more) <textarea> s initialized with TinyMCE-3.4.8-jQuery in a <ul> .

  • 0

I have 2 (or more) <textarea>s initialized with TinyMCE-3.4.8-jQuery in a <ul>.

<ul id="content">
<li id="bc1"><textarea id="text1" class="blockcontent"></textarea></li>
<li id="bc2"><textarea id="text2" class="blockcontent"></textarea></li>
<li id="bc3"><textarea id="text3" class="blockcontent"></textarea></li>
</ul>

The “Block Contents” will be initialized with $('.blockcontent').tinymce({...});.

If I insert #bc3 after #bc1 with $('#bc3').insertAfter($('#bc1')); the content will be deleted. The content of the #text3 textarea is no longer avaiable. It’s gone away.
How to fix this?

I have also tried to clone #bc3 $('#bc3').clone(true, true), insert the clone after #bc1 and remove the original #bc3. To fix the “jQuery Input Clone Bug” I used the jquery.fix.clone jQuery plugin. But the clone method also has the same issue as the insertAfter method. Maybe the insertAfter does the same: clone and remove. Don’t know, whatever. If I first remove the original and then insert the clone the TinyMCE is not avaiable in the clone but the content of the cloned textarea is available. If I first insert the clone and then remove the original the TinyMCE is available but not the original content.

Br

  • 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-30T17:48:44+00:00Added an answer on May 30, 2026 at 5:48 pm

    Moving tinymce around in the DOM does not work as you would like to here.
    Before you move it around you need to call mceRemoveControl and then after you moved the editor source element you may reinitialize the editor.

    Cloning will yield to identical ids. Tinymce doesn’t allow identical ids. Better make sure your source html elements have a unique id (not none).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a little problem with jQuery: $('#form-submit').click(function () { $('#textarea, #name').removeClass('error-state').addClass('normal-state'); var myName
I have this html: <div class=box id=n5> <p class=text>Lorem ipsum dolor sit amet</p> <textarea
I have a textarea input that allows users to input in more than on
I have a textarea... <textarea> Some writing here * Then some more on another
I have inputs with names like this <textarea type=text name=featured[items][58252][hpsummary] cols=50 class=limit20_120>asdfasdfasfasfdsadfasdfaasdfasfdasfasfasdf</textarea> and I
I have more than one OpenID as I have tried out numerous. As people
Where I have more than one table in my database for use with (similar,
How can one have more than a Wizard control on the same page without
I would like to have more than one button. I tried to copy code
It seems that I have more trouble getting standard Unix things to run on

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.