@8btc/bbteditor

bbteditor

Usage no npm install needed!

<script type="module">
  import 8btcBbteditor from 'https://cdn.skypack.dev/@8btc/bbteditor';
</script>

README

bbtEditor

fork wangEditor

  • ☑️清除选中区域的格式,第一版
  • ☑️复制内容格式化,每一个换行都是p隔开,之前是p里面br隔开,设置li时会丢失内容
  • ☑️优化标签使用原生,后期更好支持md和rich的切换
  • ☑️最大最小输入字符配置,textMinLength|textMaxLength -1不限制字数
  • ☑️样式修改
  • ️️☑️字数统计
  • ️️☑️根据配置的key自动保存草稿 -- 再调用页面提交成功后,需要清除localstroage
npm run example
打开浏览器访问localhost:3000/index.html