Page 1 of 1
HTMLSave Bullet List Background
Posted: Mon Oct 17, 2022 4:11 pm
by standay
Hi Sergey,
Here is what I have in my rve:
- Image13.png (4.12 KiB) Viewed 4935 times
Here's what I get when I save it as html:
- Image12.png (5.96 KiB) Viewed 4935 times
Is there a way to make the html look like the rve it came from? If that's how it works that's OK. I just wasn't able to figure out any workaround!
Thanks Sergy
Stan
Re: HTMLSave Bullet List Background
Posted: Tue Oct 18, 2022 4:38 pm
by Sergey Tkachenko
Sorry, currently I do not know how to solve this problem elegantly.
When saving HTML, TRichView applies background color to <li>. As you can see it allows coloring only content (+ list marker, if it is saved as 'inside' marker), but not to the area to the left.
In HTML, this area can be colored if a background color is applied to <ul>. TRichView does not do it, because bulleted paragraphs may have different backgrounds.
Workaround: You can save HTML with rvsoMarkersAsText in Options parameter. In this case, list markers will be saved in text, and generally the document will look closer to the original.
Re: HTMLSave Bullet List Background
Posted: Tue Oct 18, 2022 4:47 pm
by standay
Sergey Tkachenko wrote: ↑Tue Oct 18, 2022 4:38 pm
Workaround: You can save HTML with rvsoMarkersAsText in Options parameter. In this case, list markers will be saved in text, and generally the document will look closer to the original.
Thanks Sergey. Not a big deal, just wanted to be sure I wasn't doing something to cause it that was fixable! I added rvsoMarkersAsText for now. That helps some.
Stan