tinymce icon indicating copy to clipboard operation
tinymce copied to clipboard

How to enter editor screen directly in mobile mode?

Open MrMilo opened this issue 8 years ago • 8 comments

Do you want to request a feature or report a bug? feature

What is the current behavior? In TinyMCE mobile mode, I'm not able to enter the editor page directly, instead I'll need to click on the "Book icon", then the "Edit icon", only I'll be directed to an editor screen

Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE? 4.7.11

//

Aside from not able to enter the editor mode directly, I'm also curious how can I fire the event of the "Tick icon" when inside the editor mode, my plan is as below:

  1. User land into the editor screen when the page is loaded
  2. After user finish editing the content, user will touch the "Tick icon", and then I'll fire a POST request and POST the content to my server and store them

MrMilo avatar Apr 30 '18 10:04 MrMilo

We fixed that in 4.7.11 make sure that you update all files. I can't reproduce that on this fiddle: http://fiddle.tinymce.com/xrgaab

We don't have a feature to fire an event for the editor mode switch on mobile. Please open another ticket for this so we can track that as a feature request.

Closing until we get a proper way of reproducing the issue.

spocke avatar May 02 '18 13:05 spocke

Hi @spocke ,

My question was how can I enter the editor page directly instead of click on the "Book icon" first, I noticed the "Edit icon" part is no longer applicable though, but it'll be cool if I can let user to directly land into the editing mode.

MrMilo avatar May 02 '18 14:05 MrMilo

Hi @spocke , I'm had tried again in mobile view and the behavior is exactly what I mentioned in the original issues, you can reproduce following the steps as below:

  1. Using 4.7.11, init tinymce with mobile theme

  2. Open up dev console in chrome and then use mobile view / use any mobile browser to browse the Editor image

  3. The editor first show the "Book icon", then after press on the "Book icon", it first open up another screen which have a "Pencil icon" in bottom right, then after pressing the "Pencil icon" only it enter the editor. image image

So my question remain the same, how can I enter the Editor mode directly?

MrMilo avatar May 03 '18 06:05 MrMilo

It seems that it depended on android vs ios emulation. On iOS it works on android it has this extra step. We are going to fix this one today. Sorry for the confusion.

spocke avatar May 03 '18 09:05 spocke

@spocke , thanks for the response, is there any way to skip the "Book icon" view? It would be great if user can land into Editing view directly

MrMilo avatar May 03 '18 09:05 MrMilo

Not at the moment but that would be a feature request that we could consider. It would make sense in a mobile only environment. If you could create a separate ticket for that we could mark it as a feature request. The issue with android will be solved and released today so we won't re-open this ticket.

spocke avatar May 03 '18 09:05 spocke

We want this feature, hide the book :)

templatetuners avatar May 11 '18 14:05 templatetuners

Hi! Is there any updates on this?

MrMilo avatar Sep 12 '19 07:09 MrMilo