Active
Project:
YUI Rich Text Editor
Version:
6.x-2.33
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Jan 2009 at 09:52 UTC
Updated:
26 Feb 2009 at 15:47 UTC
when i switch plain text editor for adding last.fm code vs on yui editor, it doesn't add script correctly. yui adds it as normal text.
Comments
Comment #1
deshilachado commentedif the code you are trying to add is written in PHP, then you should take a look at #294515: Input filter support
Comment #2
flickerfly commentedI suspect this is HTML and javascript from a last.fm widget. More info @ http://www.last.fm/widgets. lne, can you confirm this? Also, what are your results?
Here's an example widget from my own account.
Comment #3
lne commentedyes, i confirm it. it seem like normal text. widget don't visible.. that's my widget code:
table.lfmWidgetchart_f7cd8ca15ba3dfc1d85642f537eade81 td {margin:0 !important;padding:0 !important;border:0 !important;}table.lfmWidgetchart_f7cd8ca15ba3dfc1d85642f537eade81 tr.lfmHead a:hover {background:url(http://cdn.last.fm/widgets/images/tr/header/chart/recenttracks_regular_red.png) no-repeat 0 0 !important;}table.lfmWidgetchart_f7cd8ca15ba3dfc1d85642f537eade81 tr.lfmEmbed object {float:left;}table.lfmWidgetchart_f7cd8ca15ba3dfc1d85642f537eade81 tr.lfmFoot td.lfmConfig a:hover {background:url(http://cdn.last.fm/widgets/images/tr/footer/red.png) no-repeat 0px 0 !important;;}table.lfmWidgetchart_f7cd8ca15ba3dfc1d85642f537eade81 tr.lfmFoot td.lfmView a:hover {background:url(http://cdn.last.fm/widgets/images/tr/footer/red.png) no-repeat -85px 0 !important;}table.lfmWidgetchart_f7cd8ca15ba3dfc1d85642f537eade81 tr.lfmFoot td.lfmPopup a:hover {background:url(http://cdn.last.fm/widgets/images/tr/footer/red.png) no-repeat -159px 0 !important;}