Closed confettidc closed 8 years ago
Hello,
this is happening because we change the bullet-points to tables when we generate the html, but while editing it's a valid look, because there are no tables behind. I think it's actually not fixable.
Out of curiosity, why to you change them to tables? Do lists get some undesirable client render?
On Wed, Jun 8, 2016 at 10:54 AM, Gyula Németh notifications@github.com wrote:
Hello,
this is happening because we change the bullet-points to tables when we generate the html, but while editing it's a valid look, because there are no tables behind. I think it's actually not fixable.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EDMdesigner/editor-issues/issues/36#issuecomment-224615311, or mute the thread https://github.com/notifications/unsubscribe/ACHHBLXTBvcFsWBRfkRt_ga6UGa0WYywks5qJtexgaJpZM4If-YI .
Yes, simple lists are not stable enough. This way we can ensure that bulletpoint lists will look nice on all clients.
Understandable. I appreciate the answer. Looks like in the editor the default list styles are being overridden and dropping the indentation by setting ul,ol { padding:0}
.
Assuming the default indentation is problematic for some reasons and it's necessary to override it in the editor styles with the counter for the ol and the list-style: disc inside
for the ul, you could add this to recreate that indentation:
ol,ul{
padding-left: 40px;
list-style:none; //for both now
li:before{
position: absolute;
left: 0;
margin-left: -18px;
}
}
ul li:before{
content:'• '
}
Dear Support,
We found that when using bullet points in text block, the points are not alighted properly:
But the format is correct after export HTML:
Although the final result is correct, we still hope that the bullet point effect will be consistent with exported html.
Please advise if this can be fixed.
Thanks.