Bug Tracker

Modify

Ticket #1459 (closed enhancement: wontfix)

Opened 6 years ago

Last modified 5 years ago

Allow basic markup syntax in tooltips

Reported by: lrbabe Owned by: stefan
Priority: minor Milestone: 1.1.4
Component: interface Version: 1.1.3
Keywords: tooltip Cc:
Blocking: Blocked by:

Description

We should allow a few markup conversion for titles used in tooltips. for exemple, this title :

title="heading :: some info | another info"

(note that the title remains understandable and valid without conversion), could be rendered as :

<div id="tooltipHelper">

<div id="tooltipTitle">

<hX>heading</hX> some info<br /> another info

</div> <div id="tooltipURL"> </div>

</div>

the only thing to do actually is to replace line 65 of iTooltip by : jQuery('#tooltipTitle').html(title.replace(/(.*?)::/, "<h4>$1</h4>").replace(/ \| /g, "<br />"));

An option could be added to ignore conversion...

PS : Excuse my poor english, I'm just a young french.

Change History

comment:1 Changed 5 years ago by scott.gonzal

  • Status changed from new to closed
  • Resolution set to wontfix

Interface is no longer supported; consider switching to  jQuery UI.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.