How to highlight number phone in topic


(Sora &\) #1

Hello, I wanna highlight number phone in topic

Now, what i add to here? in library highlight.js demo i dont see numberphone number

i wanna Result

The second question, i wanna when user touch in it (call number) will auto open phone call in android or ios, how can do?


(Jeff Atwood) #2

I think you have to whitelist the tel: URI in the site settings

https://www.ietf.org/rfc/rfc3966.txt

For having RFCs read aloud, call <a href="tel:+1-555-438-3732">1-555-IETF-RFC</a>


(Sora &\) #3

Don’t have tel @codinghorror on select


(Daniela) #4

I think the site setting you are searching for is allowed href schemes


(Jeff Atwood) #5

You are looking in the wrong place, at the wrong setting. Those are programming languages. A telephone number is not a programming language.


(Sora &\) #6

Other way? Who can help me? Or can build a plugin for me?


(Kane York) #7

Search in the settings for allowed href schemes and add tel to the list.


(Sora &\) #8

Only Highlight not effect when i insert code:

<a href="tel:0938620880">0938620880</a>


(Mittineague) #9

What is the CSS are you using that targets links having href attribute values that begin with “tel”?


(Sora &\) #10

I don’t know, How do i know that? Thank!