This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
TinyMCE click Right no option copy - paste
« on: February 09, 2021, 11:57:46 PM »
Hello friends. I have Osclass  v4.3.2 and used Beta Osclass Theme 1.3.0. When the user create a new classified in the editor TinyMCE
POWERED BY TINY the option right-clicking does not work, as does pressing and holding on the mobile device screen.
The option that appears is to create a link. How can I enable this right click or hold button copy and paste option? See image atacched. Thanks.

*

MB Themes

Re: TinyMCE click Right no option copy - paste
« Reply #1 on: February 10, 2021, 08:12:10 AM »
@mujeresenlinea
I am pretty sure CTRL+V, CTRL+C will work properly.
There are different "plugins" you can use in tinymce but we try  to keep list as short as possible.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: TinyMCE click Right no option copy - paste
« Reply #2 on: February 10, 2021, 03:15:30 PM »
Yes, the funtion CTRL+V, CTRL+C it's okey. But click right or on mobile devices, pressing and holding the screen does not enable the normal drop-down menu.

How can I customize tinymce to enable those options. I leave you the link of the web in question.

https://mujeresenlinea.com/item/new

The only thing I'm using as an editor is the one included in the Beta theme, since if I enable the Rich Edit Plugin 1.2.0 plugin, it doesn't work in the Beta theme either.

Please help me, I'm losing traffic.

*

MB Themes

Re: TinyMCE click Right no option copy - paste
« Reply #3 on: February 10, 2021, 06:48:56 PM »
@mujeresenlinea
I have no idea how you could lose trafic because of right click in tinymce editor but ok.

https://stackoverflow.com/questions/17147771/tinymce-right-click-paste-mouse-enable/40288226

Regarding code for TinyMCE in osclass, you must search in core files, could be frm files, functions.php or utils.php, do not remember now.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: TinyMCE click Right no option copy - paste
« Reply #4 on: February 11, 2021, 03:46:34 AM »
Thanks for your help. It is simple if there are no new ads, people will not find new material, so they stop using the web or enter and exit quickly so the bounce rate increases and implies less retention.

My biggest concern is with smartphone users, as they cannot right click paste. It turns out that 70% of our ads, due to the sexual nature of our website, are made from cell phones and are regularly texts that they had previously saved and are only copied, pasted and new photos are uploaded.

Could you help me with something else. Could you try to remember which Osclass Core file should be modified, I really appreciate that. This unforeseen came out after updating to Osclass 4.3 since it did not have this difficulty before.

Marked as best answer by frosticek on February 11, 2021, 08:17:47 AM
Re: TinyMCE click Right no option copy - paste
« Reply #5 on: February 11, 2021, 06:11:22 AM »
Yes, the funtion CTRL+V, CTRL+C it's okey. But click right or on mobile devices, pressing and holding the screen does not enable the normal drop-down menu.

How can I customize tinymce to enable those options. I leave you the link of the web in question.

https://mujeresenlinea.com/item/new

The only thing I'm using as an editor is the one included in the Beta theme, since if I enable the Rich Edit Plugin 1.2.0 plugin, it doesn't work in the Beta theme either.

Please help me, I'm losing traffic.

Thanks for you help. Solved in my case. Modified the file functions.php in the folder oc-includes/osclass and in line 440 function "osc_tinymce_item script" after code: "plugins : [" remove parameter "link".

before:
plugins : [
        "advlist autolink lists link image charmap preview anchor",
after:
plugins : [
        "advlist autolink lists image charmap preview anchor",

Remove the option: "link"

And i solved for me. Thanks MB Themes
« Last Edit: February 16, 2021, 03:48:19 AM by mujeresenlinea »

*

MB Themes

Re: TinyMCE click Right no option copy - paste
« Reply #6 on: February 11, 2021, 08:17:43 AM »
@mujeresenlinea
Glad to hear that ;)
... btw I do not see any change comparing "before" and "after"
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

kriskoyk

  • *****
  • 324 posts
Re: TinyMCE click Right no option copy - paste
« Reply #7 on: February 15, 2021, 12:58:52 AM »
@mujeresenlinea

before:
plugins : [
        "advlist autolink lists link image charmap preview anchor",
after:
plugins : [
        "advlist autolink lists link image charmap preview anchor",


What is the second option that applies. What you write is the same as the first choice?

*

kriskoyk

  • *****
  • 324 posts
Re: TinyMCE click Right no option copy - paste
« Reply #8 on: February 16, 2021, 08:34:36 PM »
Yes it works this way but so there is no possibility for placing a link

Re: TinyMCE click Right no option copy - paste
« Reply #9 on: November 26, 2021, 05:02:08 AM »
Ok, the other solution is add this line
contextmenu: false,
In the file functions.php after line:
relative_urls : false,
Solved for me.

*

MB Themes

Re: TinyMCE click Right no option copy - paste
« Reply #10 on: November 26, 2021, 03:25:26 PM »
Thanks for feedback ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots