GreenItSolutions / dokuwiki-plugin-switchpanel

Visual representation of the network switch schemes
13 stars 8 forks source link

How to add a linebreak into the popup message? #26

Open Paebbels opened 5 years ago

Paebbels commented 5 years ago

For a patch panel port, I would like to have a popup message showing something like this:

From:  Office Level, Netgear switch port 1
To:    HP switch port 18
Speed: 10G

How to add a linebreak or text-wrap into the popup message for a patch panel port?

AmazingBeu commented 5 years ago

You can use HTML tag in text field.

For exemple, you can set this :

text="<b>From:</b>  Office Level, Netgear switch port 1 <br><b>To:</b>    HP switch port 18<br><b>Speed:</b> 10G <hr> Additional information"

to get that : switchpanel popup html