redactor-plugin-drag-drop-image-base64
v1.0.0
Published
Redactor 3 Plugin inserting Drag & Dropped images with src as dataUrl
Downloads
12
Maintainers
Readme
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>