Skip to content
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

富文本li序号样式不显示,是不支持吗 #264

Open
amourlemon opened this issue Nov 19, 2024 · 2 comments
Open

富文本li序号样式不显示,是不支持吗 #264

amourlemon opened this issue Nov 19, 2024 · 2 comments

Comments

@amourlemon
Copy link

import { Leafer } from 'leafer-ui'
import { HTMLText } from '@leafer-in/html'

const leafer = new Leafer({ view: window })

const text = new HTMLText({
text: <ul> <li>1</li> <li>2</li> <li>3</li> <li>4</li> <li>5</li> </ul>,
})

leafer.add(text)

image

@leaferjs
Copy link
Owner

需要你自己写行内样式~,这个和浏览器的dom环境是脱钩的

@amourlemon
Copy link
Author

需要你自己写行内样式~,这个和浏览器的dom环境是脱钩的

image
还是不太行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants