1.0.0 • Published 6 years ago

redactor-plugin-drag-drop-image-base64 v1.0.0

Weekly downloads
4
License
ISC
Repository
github
Last release
6 years ago

redactor-plugin-drag-drop-image-base64

Redactor 3 Plugin inserting Drag & Dropped images with src as dataUrl.

Usage

<!DOCTYPE html>
<html>
<head>
    <title>Redactor</title>
    <meta charset="utf-8">
    <!--css -->
    <link rel="stylesheet" href="/your-folder/redactor.css" />
</head>
<body>
    <textarea id="content"></textarea>
    <!-- js -->
    <script src="/your-folder/redactor.js"></script>
    <script src="/your-folder/drag-drop-image-base64.js"></script>
    <!-- call -->
    <script>
		$R('#redactorJs',{ plugins: ['drag-drop-image-base64'] });
    </script>
</body>
</html>