Localize variables with TinyMCE script

Looks as though Tiny MCE is not enqueued. Looks like it is loaded through the _WP_Editors class in class-wp-editor.php.

There is a action hook in there called before_wp_tiny_mce where you can output a script with some localised variables… This is what I am going to do.

error code: 523