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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:43:02+00:00 2026-06-10T02:43:02+00:00

I have a tinyMCE textarea, in div named text_editor. So i have in my

  • 0

I have a tinyMCE textarea, in div named text_editor.
So i have in my jQuery:

$('#text_editor').hover(function(){ 
           mouse_is_inside=true; 
   }, function(){ 
           mouse_is_inside=false; 
   });

$('body').mouseup(function(){
    if(! mouse_is_inside){
            $('#text_editor').hide();

    }
});

with this when the user click outside the div text editor, this will hide, but if the user select a font family or a font size, the text editor hide, so i add this in my jQuery:

$(document).on('click', '.mceMenuItem, .mceColorSplitMenu, .mceBottom, .mceMoreColors', function(e){
       e.stopPropagation(); 
       $('#text_editor').show();
    });

this resolve the problem overhead. but if the users click in the colorpicker-more colors, a new window open, and text_editor hide, and i don’t want that.

  • 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-06-10T02:43:03+00:00Added an answer on June 10, 2026 at 2:43 am

    demo

    var $editor = $('#text_editor');
    
    $('textarea').click(function(e){
      e.stopPropagation();
      $editor.fadeTo(400,1);
    });
    
    
    $('body').on('click', function ( e ) {
      if( !($(e.target).is('#text_editor')) && $editor.is(':visible') ){
        $editor.hide();
      }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a tinyMCE textarea #frmbody and am using the jquery instance of it.
I have a tinymce custom button, which toggles an emoticons div beside a textarea.
I have an textarea with tinyMCE included in the JQuery dialog. Here is how
I'm using the jQuery plugin for TinyMCE and have had a hard time trying
I have two apps using the same TinyMCE textarea configurations. However, while an input
I have a textarea which is a tinymce editor. This text area contains html.
I have some TinyMCE textarea editor for my PHP programs like this one: <!--
I use TinyMCE textarea editor in my Ruby on Rails project. I have db
I am using the TinyMCE editor. I have a div element. When an edit
i have an array of content then how we get content of Tinymce textarea

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.