当前位置: 首页 > 文档资料 > Simditor 中文文档 >

安装 Simditor

优质
小牛编辑
130浏览
2023-12-01

Click Here to download the zip file. You can also install Simditor by bower and npm :

  • $ npm install simditor
  • $ bower install simditor

Import files below into your web application

<link rel="stylesheet" type="text/css" href="[style path]/simditor.css" />

<script type="text/javascript" src="[script path]/jquery.min.js"></script>
<script type="text/javascript" src="[script path]/module.js"></script>
<script type="text/javascript" src="[script path]/hotkeys.js"></script>
<script type="text/javascript" src="[script path]/uploader.js"></script>
<script type="text/javascript" src="[script path]/simditor.js"></script>

Note that

  • Simditor is based on jQuery and module.js.
  • hotkeys.js is used to bind hotkeys.
  • uploader.js is related to uploading files. You don't need to import this file if you don't want the uploading feature.