Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
How to activate right click menu to copy or paste menu in devtools.
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: How to activate right click menu to copy or paste menu in devtools.
It seems like you're using a high DPI monitor.
Please, try using a 100% scale in your screen settings to see if the context menu appears in the right position.
I just tested the DevTools in the MiniBrowser demo with a 125% screen scale and the context menu is in the right position. I use Delphi 12.
Please, try using a 100% scale in your screen settings to see if the context menu appears in the right position.
I just tested the DevTools in the MiniBrowser demo with a 125% screen scale and the context menu is in the right position. I use Delphi 12.
Re: How to activate right click menu to copy or paste menu in devtools.
Not because of that.
I can have menu like the below. But if I selet a text such as in deltools that was typed or in an element, I cannot get menu such as copy and past.
I can have menu like the below. But if I selet a text such as in deltools that was typed or in an element, I cannot get menu such as copy and past.
You do not have the required permissions to view the files attached to this post.
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: How to activate right click menu to copy or paste menu in devtools.
Perhaps this is caused by the paste protection in the DevTools that was enabled by default several months ago.
https://developer.chrome.com/blog/new-in-devtools-120
https://developer.chrome.com/blog/new-in-devtools-120
Re: How to activate right click menu to copy or paste menu in devtools.
But I still use "109.1.18+gf1c41e4+chromium-109.0.5414.120"
I can use ctrl+V or C, but just cannot use mouse menu.
Is that menu was controlled by itself?
I can use ctrl+V or C, but just cannot use mouse menu.
Is that menu was controlled by itself?
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: How to activate right click menu to copy or paste menu in devtools.
Chromium decides which menu items are included by default in that context menu.
Re: How to activate right click menu to copy or paste menu in devtools.
If there some way to activate context menu of text for copy or past in devtools.
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: How to activate right click menu to copy or paste menu in devtools.
I only know of two ways to enable pasting in the devtools :
- Typing in console "allow pasting" and hit enter.
https://stackoverflow.com/questions/77671024/how-to-re-enable-paste-protection-in-chrome-console - Modifying Chromium's source code and building a custom version of the CEF binaries.
Re: How to activate right click menu to copy or paste menu in devtools.
2.Modifying Chromium's source code and building a custom version of the CEF binaries.
How to add menu? Thank you!
How to add menu? Thank you!
You do not have the required permissions to view the files attached to this post.
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: How to activate right click menu to copy or paste menu in devtools.
I'm sorry but I'm not a c++ developer and modifying Chromium's code is outside the scope of the CEF4Delphi project.
Re: How to activate right click menu to copy or paste menu in devtools.
But the problem is why it cannot have this menu when a text is selected in console and right click was done by create devtools in cef4.
BriskBard and chrome all can have this menu when a text is selected in console and right click was done.
BriskBard and chrome all can have this menu when a text is selected in console and right click was done.
