Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Issue: HtmlEditor Copy&Past, Undo&Redo, EmbedTag [26919]

$
0
0
The issues above are tested in in IE9, Chrome 10.0.648.205, Firefox 3.6.16

Undo & Redo with strange behavior
Step to reproduce:
1. Open the sample tookit site http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/HTMLEditor/HTMLEditor.aspx
2. Select "Some" text in the first line and type another text (like "other")
3. Pressing Undo (toobar) will NOT work. Ctrl+Z only works in Chrome

4. On the end of the first line hit Enter and type some text like "new line"
5. Hit Undo or press Ctrl+Z. WORK as expected.
6. Write something between "new" and "line", like "new text line"
7. Hit Undo or Ctrl+Z. The entire line will desapear editor goes back to text before step 4.
8. Hit Redo. The text goes after step 4. The text showing will be "new line"


Embed flash
1. Copy and paste a embed flash tag (like the old embed code from youtube, the "object" not "iframe") in "Html Text Panel" (source) and try to go back to "Design Mode". In Crhome or Firefox the editor will freeze and not be able to change to any mode.
2. If you set the editor content in asp.net code the editor will render only the main border, without any toolbar or panel (Chrome and Firefox)

Sample tag (from youtube)
<object width="560" height="349"><param name="movie" value="http://www.youtube.com/v/fbCQ26MoSxs?fs=1&amp;hl=pt_BR"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/fbCQ26MoSxs?fs=1&amp;hl=pt_BR" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="349"></embed></object>

The spet 1 on IE9 the embed tag is modified to:
<embed width="560" height="349" src="http://www.youtube.com/v/fbCQ26MoSxs?fs=1&hl=pt_BR" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" />
but not freeze the editor. Using this "tranformed" tag in Chrome or Firefox causes the same problem in step 1 and 2

Comments: The URL you provided does not work. Would you provide a valid URL or a attach a sample project?

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>