cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2763
Views
35
Helpful
11
Replies

Blockquote Color Vertical Bar - Help

Can someone please teach me how to change the color of the vertical bar in block quote in Webex chat? 

Screenshot 2022-06-06 213812.jpg

1 Accepted Solution

Jeff Marshall
Cisco Employee
Cisco Employee

It's not officially supported so it's not documented anywhere and for that reason it's possible it could stop working at any time and without notice, but it can be done with the HTML blockquote tag.
For example:

"markdown": "<blockquote class="warning">Some text</blockquote>"

 The color can be changed by defining a different class.

View solution in original post

11 Replies 11

Jeff Marshall
Cisco Employee
Cisco Employee

It's not officially supported so it's not documented anywhere and for that reason it's possible it could stop working at any time and without notice, but it can be done with the HTML blockquote tag.
For example:

"markdown": "<blockquote class="warning">Some text</blockquote>"

 The color can be changed by defining a different class.

 allowed values (googled it): dangerwarninginfoprimarysecondary

... but "primary" and "secondary" don't work. Anyone know the other allowed values?

It used to work, but in the latest update the white is no longer available.

These are working on the latest version of Webex: warning(yellow),danger(red),info(blue),success(green).

Secondary and Primary are all "grey" now.

 

I might be daft but this does not work for me. Are you using that line exactly as you typed it in your response?

To me it results in this.
image.png



Response Signature


It will only work when posting messages via the /messages API and using the "markdown" field.

Aha, got it. Thanks.



Response Signature


Nope, he was using the API for creating messages: https://developer.webex.com/docs/api/v1/messages/create-a-message

That endpoint accepts a markdown parameter.

You may also try it from that page and just paste

<blockquote class="warning">Some text</blockquote>

into the markdown field

Amazing. Thank you!!!!!

dtibbe
VIP
VIP

The bot may use any secret API for that, as there is no official documentation available AFAIK.

Maybe @Jeff Marshall or @Raffaele Lagana can enlighten us (I'm also interested in the solution)?

 

In my DevBot helper Bot there are a bunch of examples on how to achieve that.

The bot can answer with an HTML file posted as a message like this one:

 

Sin título.png

You can chat with the bot at helpdevbot@webex.bot on Webex to see how it works.

Kathy N.
VIP
VIP

I don't believe this is an attribute you can change.  The example you gave is from a bot so this was probably programmed into the bot.  



Response Signature


Getting Started

Welcome to the Webex Community. This is your home to ask questions, share knowledge, and attend live webinars.