Realized (middle of the night, I hate it when that happens) that it must be a WP setting, not a tinyMCE setting, that determines the editor. Found a function wp_default_editor() that returns “html” or “tinymce” depending on a stored cookie or user default setting.