tinyMCE on Mobile Devices
Jamroom Developers
We recognize jamroom dissuades using tinyMCE on mobile devices. However, we have a need to provide tinyMCE for mobile devices for creating / changing blog articles. Unfortunately it looks as though there is logic deep in the core (page.php as one example) that swaps 'editor' for 'textarea' for mobile devices.
// If this is a mobile device, and we are asking for an editor, we use a text area instead
if ($_field['type'] == 'editor' && jrCore_is_mobile_device()) {
$_field['type'] = 'textarea';
}
This is not code we will override (for obvious reasons). Anyone know of a technically prudent way to accomplish the goal of using tinyMCE as the editor for Blogs? An appropriate listener would do the trick.
Will keep looking, but thought I would raise the question in hopes of an easy method.
updated by @tig: 12/21/17 07:20:46PM