在复制粘贴期间防止创建<img src =“data:image / png; base64 ...”>

When I use Ctrl+C on an image on my PC and Ctrl+V on an WYSIWUG editor, it creates an image converted via base64. But this changes from browser and the OS I use.

What I want is to know if there are some ways to prevent it via Javascript before the Ctrl+V has effect?

Right Click and choose save image as option. The dialog should have a few options on the format of your image that you can choose.

false;"Apple-converted-space">骂人 <input name="username" type="text" onkeyup="value=value.replace(/[/u4E00-/
假的;"苹果-转换-空间">骂人< input name = " username " type = " text " onkeyup = " value = value . replace(/[/u4e 00-/