This plugin is designed to make the pasting of image data (not html) consistent across browsers. So that Chrome/Firefox/IE/Edge will all paste an with a base64 data URI when pasting image data from the clipboard. This image data typically comes from screenshots or copying directly from image editing software.
CKEditor is a WYSIWYG text editor. See the official site for more details.
JavaScript File API. Tested and working in Chrome/Firefox/IE/Edge. Does not work in Safari.
- Copy the plugin files to the plugins directory (/ckeditor/plugins/pastebase64/)
- Ensure to reference the plugin.js file from your html file after ckeditor.
- Enable the plugin by using the extraPlugins configuration setting. Example:
CKEDITOR.config.extraPlugins = "pastebase64";