tab-to-space.d.ts 366 B

123456789101112
  1. /**
  2. * @description 编辑区域 tab 的特殊处理
  3. * @author wangfupeng
  4. */
  5. import Editor from '../../editor/index';
  6. /**
  7. * 编辑区域 tab 的特殊处理,转换为空格
  8. * @param editor 编辑器实例
  9. * @param tabDownEvents tab down 事件钩子
  10. */
  11. declare function tabHandler(editor: Editor, tabDownEvents: Function[]): void;
  12. export default tabHandler;