Coder Social home page Coder Social logo

fynntang / simditor-dropzone Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ichord/simditor-dropzone

0.0 0.0 0.0 123 KB

让 Simidtor 编辑器的『插入图片』支持拖拽的小插件

License: MIT License

Ruby 3.48% CoffeeScript 30.61% JavaScript 45.14% HTML 20.77%

simditor-dropzone's Introduction

Simditor-Dropzone

这是 Simditor 的一个小插件,它可以让『插入图片』的功能支持 『拖拽上传』

Demo Gif

使用

只需要在 simditor-all.js 后引入这个文件即可。

<script type="text/javascript" src="[simple module script path]/module.js"></script>
<script type="text/javascript" src="[simple uploader script path]/uploader.js"></script>
<script type="text/javascript" src="[script path]/simditor.js"></script>
<!- .... ->
<script type="text/javascript" src="[script path]/simditor-dropzone.js"></script>

然后就可以『拖拽上传插入图片了』,无需做其它配置。

Demo

请用浏览器打开 demo.html 文件。但是这里拖入的图片会显示成丢失.
如果想看更逼真的效果,请执行以下步骤:

simditor-dropzone's People

Contributors

ichord avatar leuisken avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.