富文本编辑框

  1. <?php
  2. EditorField::init('info','内容')
  3. //文件上传路径,默认为 tpScriptVueCurdUploadDefaultUrl() 函数返回值
  4. //->uploadUrl('/url')
  5. //工具栏要显示的按钮,具体值请查看:https://gitee.com/tjztjspz/tp-script-vue-curd/blob/master/src/field/EditorField.php#L17
  6. //->toolbar([])
  7. //高度,默认为300px
  8. //->height(300)
  9. //z-index,默认为0
  10. //->zIndex(0)

image.png