Could it be possible to implement feature allowing to disable rich text editor on chosen browsers/platforms?
Like: show editor on desktops but hide it on mobile devices (display simple text form).

Comments

twod’s picture

Considering browsers can easily disguise themselves as other user agents, a feature like this would never be 100% reliable and it would be hard for us to keep an up to date list of known user agents. If it was implemented as a filter on parameters like user agent, differences in the DOM etc, where all the allowed/disallowed values are supplied by the user, it might be more useful but harder to configure for the user. I'm not sure how to implement it tho and what action to take if a disallowed user agent is encountered. Disable Wysiwyg completely or have it resume normal opertions but set the editor to disabled by default? Maybe we should leave that up to the user too if this feature is introduced.

Kane’s picture

Here's what i think it should looks/work like:
On wysiwyg settings page there will be check box set checked by default
[x]Mobile
While it's checked wysiwyg would be displayed on both desktop and mobile browsers.
If you uncheck it then wysiwyg would be displayed only for desktop browsers.

That's it.

I don't see any point to display editor and even load it's .js files for mobile browsers. Sure, on some of them wysiwyg works fine, but some just don't display editor correctly. And who even use wysiwyg editors from their smartphones/phones?

twod’s picture

Most editors do not work on mobile browsers, they may load properly but are not recognized as input areas (iPhone has this problem). The problem is, how do we reliably detect a mobile browser?

Kane’s picture

Well, there are some functions in the Internet (just google detect mobile browser).
We can't 100% sure detect what browser user's using, but i guess there should be case check with default option "show wysiwyg". So, either show editor if we can detect browser and do not show if we can't.

P.S. Thanks for even answering to my crazy thoughts :)

sun’s picture

Status: Active » Closed (duplicate)

Thanks for taking the time to report this issue.

However, marking as duplicate of #961522: WYSIWYG on mobile devices.. You can follow up on that issue to track its status instead. If any information from this issue is missing in the other issue, please make sure you provide it over there.