[wp-trac] [WordPress Trac] #18261: WYSIWYG toolbar 'indent button' produces invalid markup
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 1 11:49:52 UTC 2011
#18261: WYSIWYG toolbar 'indent button' produces invalid markup
--------------------------+-----------------------------
Reporter: kingkong954 | Owner: azaozz
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: Future Release
Component: TinyMCE | Version: 3.2.1
Severity: normal | Resolution:
Keywords: |
--------------------------+-----------------------------
Comment (by bvomedia):
The "indent" button is useless when trying to indent/number list items as
"1", "1.1", "1.1.1", etc. It produces invalid markup on nested lists.
Therefore, the numbering is all wrong.
Style sheet:
{{{
OL { counter-reset: item }
LI { display: block }
LI:before { content: counters(item, ".") " "; counter-increment: item }
}}}
The visual editor doesn't support adding nested lists. '''If the HTML
markup was correct these simple CCS rules would work perfectly'''.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18261#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list