My day job is in the process of replacing TinyMCE with another WYSIWYG editor, Quill. Even once that happens, we'll still be supporting existing clients that use TinyMCE, and those clients will likely never receive the "replacement," but they'll still receive updates.
One of those clients recently noticed that they could not resize images within TinyMCE. Trying to reproduce the error gave
Uncaught DOMException: Failed to execute 'setBaseAndExtent' on 'Selection': There is no child at offset 1. in the console. This is fixed in TinyMCE 4.5.6, but took me almost an hour and a half of debugging and making attempts to actually fix the problem. I'm going to hopefully save you that time, just follow the steps below to update.
wget https://cdnjs.cloudflare.com/ajax/libs/tinymce/4.5.6/tinymce.min.js -O tinymce/tinymce.min.js wget https://cdnjs.cloudflare.com/ajax/libs/tinymce/4.5.6/themes/modern/theme.min.js -O tinymce/themes/modern/theme.min.js wget https://cdnjs.cloudflare.com/ajax/libs/tinymce/4.5.6/plugins/contextmenu/plugin.min.js -O tinymce/plugins/contextmenu/plugin.min.js
The last command assumes that you're using the contextmenu plugin with TinyMCE as we are. If you're not, you probably won't need to run that command. This updates the files in place, so if you're not using version control of some kind (really, if you're not, you should be), then make sure you back up your source files first.