jeffhoard's Avatar
jeffhoard 8
959 Asked
3784 Answered
1396 Best
0
No one has voted on this question yet :(
2 years, 11 months ago

Can Widgets embed in Answers?

Interesting.. when I enable WYSIWYG the wideget appears..

http://www.flickr.com/photos/33749589@N07/3635275504/

But when I publish no widget appears. Can we use widgets in Answers? Could we use them in answers if we didn't abuse them?

Kimberley VlaminckEmbed this widget See full results for Kimberley Vlaminck
Tip for best answer: M$0.25
Separate topics with commas, or by pressing return. Use the delete or backspace key to edit or remove existing topics.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$

What is Your Answer?

0
0
0

2 Answers

1
arjo's Avatar
arjo | 2 years, 11 months ago
4
You can't and here is why:

* You can paste the code in the WYSIYSG editor
* But when you submit your answer almost all HTML is filtered out.
* This is because embedding unfiltered user submitted html and javascript is security threat.

What you could do is something like this

{{Kimberley Vlaminck}} will show up as the Kimberley Vlaminck widget
just like putting double brackets around a name

You will probably have to use a regular expression. Something like preg_replace() will do the trick in PHP

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$

Report Abuse

Post Reply Cancel
0
mithrandir's Avatar
mithrandir | 2 years, 11 months ago
22
Nope... Try again :)

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$

Report Abuse

Post Reply Cancel

Learn something new with our FREE educational apps!

Private lessons in the comfort of your own home. Get back in shape or finally pick up a guitar with our great experts guiding you the whole way!
Learn Guitar
Learn Hip Hop
Learn Pilates