Ticket #803 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Add creation of definition lists (DL) to buttons bar

Reported by: rduke15@… Owned by: gogo
Priority: high Milestone: Version 1.0
Component: Xinha Core Version: trunk
Severity: normal Keywords: dl definition list dd dt
Cc:

Description

I would like to be able to use HTML definition lists. Tried to hack the code, but it seems that normal unordered lists are created with an execCommand("insertunorderedlist"), which has no "insertdefinitionlist" equivalent.

My javascript and Xinha knowledge is not sufficient to allow me to add such functionality, so I add it here as wishlist item.

Change History

Changed 6 years ago by guest

  • keywords dd dt added
  • priority changed from normal to high
  • severity changed from enhancement to normal
  • milestone set to Version 1.0

I'd like to know that too. I've tried it by modifying the Array this.formatblock as follows:

  this.formatblock = {
    "— format —"  : "",
    "Heading 1": "h1",
    "Heading 2": "h2",
    "Heading 3": "h3",
    "Heading 4": "h4",
    "Heading 5": "h5",
    "Heading 6": "h6",
    "Normal"   : "p",
    "Address"  : "address",
    "Formatted": "pre",
    "Definition list": "dl"
  };

This way I can assign a dl tag to selected text but I neither can enter definition (dt) terms nor descriptions (dd). Any ideas would be highly appreciated.

Changed 6 years ago by gocher

  • status changed from new to closed
  • resolution set to fixed

I wrote a little plugin for that and commited it in changset 803!

Note: See TracTickets for help on using tickets.