configure.js 626 B

1234567891011121314151617181920212223242526272829
  1. import { basicInputConfigureOptions } from '../../input-configure-options'
  2. export default {
  3. ...basicInputConfigureOptions(),
  4. defaultValue: {
  5. // type: 'formExpressionInput',
  6. // inputType: 'textarea',
  7. // mode: 'append' // 开启值追加模式
  8. },
  9. fontWeight: {
  10. type: 'radio',
  11. label: '文字粗细',
  12. isButton: true,
  13. options: ['lighter', 'normal', 'bold']
  14. },
  15. fontSize: {
  16. type: 'number',
  17. label: '文字大小',
  18. min: 12,
  19. max: 72,
  20. step: 1
  21. },
  22. textAlign: {
  23. type: 'radio',
  24. label: '文字位置',
  25. isButton: true,
  26. options: ['left', 'center', 'right']
  27. }
  28. }