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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T05:02:05+00:00 2026-06-07T05:02:05+00:00

I have successfully added a tinyMCE editor to my web-app so that users can

  • 0

I have successfully added a tinyMCE editor to my web-app so that users can make notes. I have the textarea it replaces inside a div, so that the div can resize with the page, and the textarea can always be set at width: 100% and height: 100%

My tinyMCE.init looks as follows:

tinyMCE.init({
  mode: "specific_textareas",
  editor_selector: "notes-editor",
  theme: "advanced",
  plugins: "",
  theme_advanced_buttons1: "bold,italic,underline,strikethrough,|,bullist,numlist,|,undo,redo,|,forecolor,backcolor",
  theme_advanced_toolbar_location: "top",
  theme_advanced_toolbar_align: "left",
  theme_advanced_statusbar_location: "none",
  theme_advanced_resizing: false,
  height: "100%",
  width: "100%"
});

Unfortunately, this returns an editor that looks as follows:
enter image description here

No matter how I change the height, be it from CSS or JS, that “strip” of where I can edit never changes. The odd thing is that this only applies to the height.

I have done everything from trying to change the table (i.e. note_contents_tbl) to the iframe (i.e. note_contents_ifr) but nothing.

Any help would be greatly appreciated.

  • 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-07T05:02:06+00:00Added an answer on June 7, 2026 at 5:02 am

    By setting the height and width to 100% doesn’t work. TinyMCE creates the editor inside an iframe, which in turn is nested inside a table. Setting height to 100% does not inherit the size of the div.

    I think this could be your problem and if really this is the problem then you should change the width and height values from % to numeric values exactly the width and height of your wrapper div or whatever you want and to do so remove the % from init just use, i.e.

    height: "300",
    width: "500"
    

    To change the size programmatically you can use

    var ed = tinymce.activeEditor;
    var width = '500';
    var height = '300';
    ed.theme.resizeTo(width, height);
    

    tinyMCE Configuration and another answer on SO.

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

Sidebar

Related Questions

I have successfully added admob ads to my android app and can view test
I am building an Android app using phoneGap and I have successfully added the
I have a 3rd party .dll that I have successfully added as a reference
I have successfully added metadata to a jpg created within the app and saved
I have a big Silverlight app which I have successfully converted and added a
I have a png icon, it's added successfully in my project, but not included
I have successfully created a feature in sharepoint that modifies the existing edit dialog
I have successfully been using the eclipse Indigo internal browser to view my web
i have successfully added input element into div, which looks like this : $(document).ready(function()
I have successfully added and used a Get action in my new REST-service in

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.