Opened 14 years ago
Last modified 14 years ago
#6331 confirmed Bug
Styles applied to all children elements — at Initial Version
Reported by: | b0b0 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Styles | Version: | 3.4 |
Keywords: | Cc: |
Description
paste this in the editor : <ul>
<li>
line 1</li>
<li>
line 2</li>
<li>
line 3</li>
</ul>
then apply a style (from the Styles list) to the UL. The style is then applied to all LI children elements...
On my site, applying a style ({ name : 'Slider content' , element : 'div',attributes : { 'class' : 'slider_content' }}) to the UL gives this : <ul>
<li>
<div class="myClass">line 1</div></li>
<li>
<div class="myClass">line 2</div></li>
<li>
<div class="myClass">line 3</div></li>
</ul>
instead of : <div class="myClass"> <ul>
<li>
line 1</li>
<li>
line 2</li>
<li>
line 3</li>
</ul> </div>
hoping I am not mistaking on this issue...