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

  • Home
  • SEARCH
  • 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 7519191
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:51:42+00:00 2026-05-30T01:51:42+00:00

I’m getting a weird problem with TinyMCE. When I click the cursor to the

  • 0

I’m getting a weird problem with TinyMCE. When I click the cursor to the end, depending on the length of the line the editor may change it’s size (width/height).

This doesn’t happen with the demos and I can’t seem to find how my options radically differ from the defaults.

Here is an example of the same text but different sizes when the cursor is at the end of each line:

1.

2.

Has anyone else seen this type of behaviour?

My init code as it were:

$('textarea.tinymce').tinymce({
        // Location of TinyMCE script
        script_url : '/assets/modules/tiny_mce/tiny_mce_gzip.php',

        // General options
        mode : "textareas",
        theme : "advanced",
        plugins : "spellchecker",
        editor_selector : "tinymce",

        // Theme options
        theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,formatselect,fontselect,fontsizeselect",
        theme_advanced_buttons2 : "justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,forecolor,backcolor,spellchecker",
        theme_advanced_buttons3 : "",
        theme_advanced_buttons4 : "",
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "left",
        theme_advanced_statusbar_location : "bottom",
        theme_advanced_resizing : false,

        apply_source_formatting : true,
        paste_auto_cleanup_on_paste : true,
        paste_retain_style_properties : false,
        paste_strip_class_attributes : true,
        paste_remove_spans : true,
        paste_remove_styles : true,
        paste_remove_styles_if_webkit : true,
        cleanup : true,

        content_css : '/assets/modules/tiny_mce/themes/advanced/skins/default/myownstyle.css',
  • 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-30T01:51:43+00:00Added an answer on May 30, 2026 at 1:51 am

    From what I can ascertain looking at this again.

    If I have:

        apply_source_formatting : false,
        /*paste_auto_cleanup_on_paste : true,
        paste_retain_style_properties : false,
        paste_strip_class_attributes : true,
        paste_remove_spans : true,
        paste_remove_styles : true,
        paste_remove_styles_if_webkit : true,*/
        cleanup : true,
    

    and also

     ed.onInit.add(function(ed) {
                ed.pasteAsPlainText = true; 
            });
    

    Then text comes in unformatted and also does not change the size of the editor when clicking on different parts of the text.

    This is fine for me. I’m not too bothered about capturing the format of the paste.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I would like to count the length of a string with PHP. The string
I used javascript for loading a picture on my website depending on which small
I am currently running into a problem where an element is coming back from
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
I have a reasonable size flat file database of text documents mostly saved in
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti

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.