Paste image from clipboard using javascript in CKEditor

Baoming Zhang, Man Ren

Abstract


The CKEditor is a good web page editor and be used widely. But it can not paste an image directly from clipboard to the server because of safety issues and serious impact on the effect of the user experience, so need a method to solve this problem. Several methods to paste from clipboard into CKEditor are analyzed in this article, and a solution is presented. In firefox browser, can use javascript and ajax to access and post base64 png image directly to the server, but in IE browser, an ActiveX has to be developed and signed to paste from clipboard. Now this function has realized in our e-commerce experiment system.

Keywords


Paste image; clipboard; ActiveX

Full Text:

PDF

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.

ACSA©: World Science Publisher United States