Disabling resize controls in IE

I have a web application, HTML wysiwyg editor based on TinyMCE (javascript). The content editing is enabled in Internet Explorer with designMode="on".

If I put an iframe in the edited content:

This is the content I am editing as HTML source.

<iframe src="..."></iframe> <b>I just added an iframe to my content</b>

The iframe will become visible however Internet Explorer will create resize controls for it. That means that I, as a user, can resize the iframe with the mouse.

I would like to disable that. Does anybody know if it is possible?


Kind of embarrassing I haven't thought of it before.

The solution is - of course (in javascript):

var comp = doc.getElementById('my_iframe_comp'); comp.oncontrolselect = function() { return false; };

By returning false on controlselect event, the propagation stops and the resize controls do not show up.


  • How do online rich text editors work?
  • Java catching exceptions and subclases
  • Do stored procedures have the ability to delete a file from the OS?
  • send data back from jsp iterator to struts action class
  • How to remove left and right margins from all wrapped rows in flexbox (without nth-child or js)
  • Allocating a 2D contiguous array within a function
  • Unable to run SDL program in Eclipse but able to do so in Windows Explorer
  • Javascript Array, Object, Date not defined
  • Why can't UI components be accessed from a backgroundworker?
  • Is there a way to dynamically embed PDF Files in a JSP pulled from the file system?
  • How to getText() from the input field of an angularjs Application
  • Problem while Building a Setup Project for a windows Service?
  • Detect when Facebook like button is clicked
  • CakePHP 2.0.4 - findBy magic methods with conditions
  • Counter field in MS Access, how to generate?
  • Sony Xperia Z Tablet not found by adb
  • AES padding and writing the ciphertext to a disk file
  • Updating server-side rendering client-side
  • How to extract text from Word files using C#?
  • Cassandra Data Model
  • Javascript + PHP Encryption with pidCrypt
  • Websockets service method fails during R startup
  • How to get next/previous record number?
  • Apache 2.4 - remove | delete | uninstall
  • Proper way to use connect-multiparty with express.js?
  • Error creating VM instance in Google Compute Engine
  • Why can't I rebase on to an ancestor of source changesets if on a different branch?
  • How to set the response of a form post action to a iframe source?
  • Hits per day in Google Big Query
  • Trying to get generic when generic is not available
  • how does django model after text[] in postgresql [duplicate]
  • Getting Messege Twice Using IMvxMessenger
  • embed rChart in Markdown
  • How to get Windows thread pool to call class member function?
  • IndexOutOfRangeException on multidimensional array despite using GetLength check
  • costura.fody for a dll that references another dll
  • Observable and ngFor in Angular 2
  • UserPrincipal.Current returns apppool on IIS
  • Python/Django TangoWithDjango Models and Databases
  • java string with new operator and a literal