leafer-ui icon indicating copy to clipboard operation
leafer-ui copied to clipboard

当text.textDecoration = 'under'时,没办法设置下划线和字之间的间距

Open szw321127 opened this issue 4 months ago • 2 comments

type ITextDecoration = | 'under' // 下划线 | 'delete' // 删除线 | 'under-delete' // 下划线 + 删除线 | 'none' | ITextDecorationData

interface ITextDecorationData { type: ITextDecorationType // 装饰线类型 under / delete / under-delete color: IColor // 装饰线颜色 }

能不能加个类似 css 的 text-underline-offset 属性

szw321127 avatar Sep 02 '25 05:09 szw321127

可以加,谢谢反馈~

leaferjs avatar Sep 02 '25 06:09 leaferjs

已经支持,请关注稍后网站的更新日志

leaferjs avatar Sep 08 '25 23:09 leaferjs