RichText icon indicating copy to clipboard operation
RichText copied to clipboard

markdown方式加载,插入图片文字会自动换行问题

Open ysy1993 opened this issue 5 years ago • 3 comments

RichText.fromMarkdown(bodyBean.getContent()) .autoFix(false) .showBorder(false) .borderColor(getXColor(getContext(), R.color.white_color)) .size(ImageHolder.MATCH_PARENT, ImageHolder.WRAP_CONTENT) .scaleType(ImageHolder.ScaleType.fit_center) .placeHolder((holder1, config, textView) -> getXDrawable(getContext(), R.drawable.img_null_banner)) .cache(CacheType.all) .into(mAnswerText); 图片上面的一行多点的文字会变成2行,平齐,第一行右边空白

ysy1993 avatar Nov 28 '19 10:11 ysy1993

image

ysy1993 avatar Nov 28 '19 12:11 ysy1993

没一行的左边是好几个空格,你们显示没问题吗???

ysy1993 avatar Nov 29 '19 09:11 ysy1993

通过imagespan也会遇到这种问题1 @ysy1993 老哥解决了么

CodeK1988 avatar Feb 02 '21 13:02 CodeK1988