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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:45:49+00:00 2026-05-31T01:45:49+00:00

I am using a tinyMce editor in our website. At the first pageload I

  • 0

I am using a tinyMce editor in our website. At the first pageload I set an onkeypress event handler like this:

window.onload = function () {
    tinyMCE.activeEditor.onKeyPress.add(function () { startCookieInterval() });
    }

This works fine in firefox and chrome, but in opera it throws this javascript error:

Uncaught exception: TypeError: Cannot convert 'tinyMCE.activeEditor' to object

So I changed the window.onload to document.onload in case the tinyMce editor hasn’t properly initialised by window.onload. This then works fine, up to the point where the event handler is called for the first time. Here I remove the event handler, because I only want to run it once:

function startCookieInterval() {
    tinyMCE.activeEditor.onKeyPress = null;
    cookieIntervalTick();
}

After this, on every keypress, the following javascript error occurs:

[07/05/1983 08:35:36] JavaScript - http://localhost:10166/4_advice_only/editadviceitem.aspx?ADIID=13127831
Event thread: keypress
Uncaught exception: TypeError: Cannot convert 'v[x[t.fakeType || t.type]]' to object
Error thrown at line 8641, column 20 in r(t, A) in http://localhost:10166/includes/tiny_mce_3_3_8/tiny_mce.js:
    v[x[t.fakeType || t.type]].dispatch(v, t, A)
called via Function.prototype.call() from line 3686, column 16 in <anonymous function: g>(n) in http://localhost:10166/includes/tiny_mce_3_3_8/tiny_mce.js:
    return l.call(j, n)

None of this happens in any other browsers. Please share your thoughts. Thanks

hofnarwillie

  • 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-31T01:45:50+00:00Added an answer on May 31, 2026 at 1:45 am

    Opera is not fully supported by Tinymce. This might be the reason for your error.

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

Sidebar

Related Questions

I`m using tinymce as text editor on my website. Sometimes when I wrote some
My drupal site (internal) will not display the TinyMCE editor when using Google Chrome
I've started using Joomla 1.5 recently and am using the TinyMCE online WYSIWYG editor
I'm using RSV to validate form element, and tinymce to convert textarea to editor.
I'm using TinyMCE with the tinymce-django app in my Django website. I am using
Running an ASP.Net website and using TinyMCE for content management. Users need to be
I am using TinyMCE editor, and it is great. But I having problems with
i am using tinymce editor for my form. i have three instance of tiny
i m using tinymce editor on joomla component that behave strangly tinymce is already
im using TinyMCE Wysiwyg editor, and when i enter a link, or an image

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.