iPad and Markitup

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/7/2013 10:29:02 AM
vc3
Gravatar
Total Posts 18

iPad and Markitup

Is there a way to turn this off so that it uses the default WYSIWYG editor? We had done some testing before you made this change and found it to work fairly well. Also as devices get updated to ios6 things may get better.

 

Thanks

Tim

2/7/2013 10:34:10 AM
Gravatar
Total Posts 18439

Re: iPad and Markitup

It was turned off long ago, maybe you are using an older version of mojoPortal

3/11/2013 11:32:50 AM
vc3
Gravatar
Total Posts 18

Re: iPad and Markitup

Joe, I'm having a couple of issues on the iPad. I have sites running 2.3.9.4, I have the following key in my user.config: <add key="MobilePhoneUserAgents" value="iphone,ipod,mobile,iemobile" />

In Safari, the sites are using the mobile skin. Also, for any browser on the iPad it's still using the Markitup editor.

Is there something in the skin files that is creating these issues? Some of the site have been upgraded along the way.

Example: www.wakeforestnc.gov

Thanks

Tim

3/11/2013 11:59:20 AM
Gravatar
Total Posts 18439

Re: iPad and Markitup

Hi Tim,

You should remove the word "mobile" from the MobilePhoneUserAgents string, that was a bug and that fragment exists in iPad user agent so having that will make iPad use the mobile phone skin when iPad really should use the main site skin.

The only case where iPad would use Markitup is older ipads, anything using IOS5 or higher Safari does support using the real wysiwyg editors like CKeditor. You can make it not load markitup by adding AssumeMarkitupIsLoaded="true" on <portal:ScriptLoader in layout.master but for older devices that will still result in just using a plain text area.

Note that in viewing your site it looks like you have <add key="CombineCSS" value="false"/> which is making it load a whole bunch of css files. I recommend set that to true or else combine all the css into one file yourself and then just list that one file in style.config. All those separate http requests for separate files is not good for performance.

Hope that helps,

Joe

3/11/2013 12:46:32 PM
vc3
Gravatar
Total Posts 18

Re: iPad and Markitup

Thanks for the fix on the user agents. And, thank for the note on the combine css - I had it off for some debugging.

So, what I have found is that an older iPad on ios5 pulls up the full WYSIWYG editor. But, a new iPad (3) with ios6 pulls up MarkItUp. If I add AssumeMarkitupIsLoaded="true", then it pulls up just the text. Basically ios6 is acting like ios4...I guess.

Not sure if this is a Mojo bug or IOS bug.

Thanks for any help.

Tim

3/11/2013 1:42:55 PM
Gravatar
Total Posts 18439

Re: iPad and Markitup

Hmm, weird I had recently tested with my iPad and it was working fine but just now trying our demo site I get mixed results but then it is using a brand new version of CKeditor. What is happening for me there is that the new inline editing feature works though the toggle for locking and unlocking the editor in inline mode is hard to click in some skins due to a positioning problem. 

...I just now looked through the code and I think I see the problem. We are actually looking for IOS version 5. I'm going to have to change that code to look for IOS 3 or 4 and assume that if it is an iPad and it isn't version 3 or 4 then it supports wysiwyg, that should future proof it. I will fix that for the next release. 

You might try our demo site and see what the inline editing is like with iPad though it is only implemented currently in the Html content feature and it is kind of experimental at this point you could upgrade to mojoPortal 2.3.9.6 if you think it would help your users.

3/11/2013 2:18:35 PM
vc3
Gravatar
Total Posts 18

Re: iPad and Markitup

On the demo site, I am getting the same results as my sites, on the iPad Safari and Chrome load MarkItUp. This is on iOS 6.1.2.

Thanks

Tim

3/11/2013 2:28:19 PM
Gravatar
Total Posts 18439

Re: iPad and Markitup

yes, on the edit pages it has the same bug but did you try the inline editing? On the home page you will see a little lock icon in the content if logged in as admin click that then it toggles to an unlock icon, when it is unlocked click right into the content and the editor will appear and you can edit directly in the home page without going to the edit page. once you click outside of the editor it saves.

3/11/2013 2:42:32 PM
vc3
Gravatar
Total Posts 18

Re: iPad and Markitup

Hmm, when I tap the lock, a small message comes up that says "Toggle Inline Editing", but the lock never unlocks.

3/11/2013 2:45:41 PM
Gravatar
Total Posts 18439

Re: iPad and Markitup

tap it again right after it does that

3/11/2013 4:08:44 PM
vc3
Gravatar
Total Posts 18

Re: iPad and Markitup

Yeah, got it to work. But definitely not fat finger friendly.

Looking forward to a code fix to be able to load the normal wysiwyg editor.

Tim

You must sign in to post in the forums. This thread is closed to new posts.