← Back to team overview

mahara-contributors team mailing list archive

[Bug 1265253] Re: Check device detection and HTML editor use

 

For Android at least, the important thing isn't the operating system
version, but the browser type and version. For instance, on my Android
phone I run Android 4.1, which includes the standard Android browser
that can run TinyMCE. However most of the time I browse using Opera
Mini, which most decidedly cannot run TinyMCE.

Possibly we could use MobileDetect's mobileGrade() method to determine
whether or not the browser is good enough to support TinyMCE. This
function is supposed to be a pass-through to JQUery Mobile's grading
system, which returns:

A: Full JQuery Mobile support
B: Everything except AJAX
C: Minimal support

I don't think TinyMCE is written using JQuery, but presumably if the
browser is graded B or A it can probably handle TinyMCE as well.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1265253

Title:
  Check device detection and HTML editor use

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  Mahara 1.8 / master (1.9dev):

  When device detection is turned on, mobile devices do not display
  TinyMCE. When you turn it off, they do and some mobile devices can
  actually use TinyMCE. It would be good to check the current iOS and
  Android version to see if we still need to make the distinction when
  device detection is turned on or whether both states can use TinyMCE.

  I think our current lowest Android version is 2.3 which we might have
  to rethink as Android is now at 4.4.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1265253/+subscriptions


References