最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

html - <ul> inside <ol> in editor

programmeradmin2浏览0评论

I want to add

<ol>
   <li>First list</li>
   <li>Second List 
      <ul>
          <li>Sub Second List</li>
      </ul>
   </li>
   <li>Third List </li>
</ol>

This is not possible with editor without manual job. How can we achieve this

I want to add

<ol>
   <li>First list</li>
   <li>Second List 
      <ul>
          <li>Sub Second List</li>
      </ul>
   </li>
   <li>Third List </li>
</ol>

This is not possible with editor without manual job. How can we achieve this

Share Improve this question asked May 30, 2013 at 14:58 Mikul GohilMikul Gohil 1293 silver badges7 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 3

This is entirely possible, as I just tested it in WordPress.

  1. Create your unordered list
  2. Add four items: "First list," "Second list," "Sub Second List," "Third List"
  3. Place the cursor on "Sub Second List" and click Indent (you will need to expand the kitchen sink to access the indent button
  4. With the cursor still on "Sub Second List," click Unordered List

Following the steps above will produce the following markup:

<ol>
    <li>First List</li>
    <li>Second List
        <ul>
            <li>Sub Second List</li>
        </ul>
    </li>
    <li>Third List</li>
</ol>
发布评论

评论列表(0)

  1. 暂无评论