-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
设置字体默认大小不成功 #6
Comments
setEditorFontSize只是编辑字体大小,和实际生成html没有关系,目前只能通过setFontSize 去设置 目前比较想要的直接指定具体大小 如我想要20px,这种属于font size和font-size css里面 还是不同,目前web的这个editor,目前还是不支持的,当然你可以直接插入文本 |
比如你只是使用这7种 类似 h1 2345 这样的标签效果。默认的是去设置setFontSize 具体可以参考 demo中,ChooseDialog.show(mContext, Type.Heading, new ChooseDialog.OnItemClick() { |
好的谢谢了,我另外试试,辛苦了。 |
一开始初始化 用了setEditorFontSize() 设置字体大小,但是只有光标变大了,字体还是最小的那个。
但是假如这时候我给一个按钮设置了 setTextColor 事件并且点击了,这时候就字体就会变成所设置的默认字体大小。
The text was updated successfully, but these errors were encountered: