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

三种模式支持 list-style 样式 #494

Closed
88250 opened this issue Jun 17, 2020 · 1 comment
Closed

三种模式支持 list-style 样式 #494

88250 opened this issue Jun 17, 2020 · 1 comment
Assignees
Milestone

Comments

@88250
Copy link
Collaborator

88250 commented Jun 17, 2020

之前在 SV 模式做过 #269 现在需要进行改进,不能使用 data-mark 属性,因为 WYSIWYG、IR 模式依赖 data-marker 做解析,无法根据开关指定是否渲染,只能固定渲染该属性,这会导致这两个模式固定显示列表样式。

为了改进,我们需要新引入属性 data-style,三种模式统一基于该属性做列表项样式控制,开关名称由 RenderListMarker 变更为 RenderListStyle

@88250 88250 self-assigned this Jun 17, 2020
@88250 88250 added this to the 3.3 milestone Jun 17, 2020
@88250 88250 changed the title 三种模式支持 list-style-type CSS 三种模式支持 list-style CSS Jun 17, 2020
88250 added a commit to 88250/lute that referenced this issue Jun 17, 2020
列表支持渲染标记符样式属性 #48
Vanessa219/vditor#494
@88250 88250 changed the title 三种模式支持 list-style CSS 三种模式支持 list-style 样式 Jun 17, 2020
@Vanessa219
Copy link
Owner

wysiwyg & ir mode 和 sv mode 添加的 data-style 位置不一致,应统一为 sv mode

@88250

@Vanessa219 Vanessa219 reopened this Jun 18, 2020
88250 added a commit to 88250/lute that referenced this issue Jun 18, 2020
三种模式支持 list-style 样式
Vanessa219/vditor#494
@88250 88250 closed this as completed Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants