Opened 14 years ago

Closed 14 years ago

#6896 closed defect (wontfix)

dijit._editor.getChildrenHtml() does not work on IE.

Reported by: guest Owned by: liucougar
Priority: high Milestone: future
Component: Editor Version: 1.1.1
Keywords: Cc: [email protected]
Blocked By: Blocking:


dojo.version: 1.1.1 (13707) major=1 minor=1 patch=1 revision=13707 Browser: IE 7.0.5730.11

dijit._editor.getChildrenHtml seems not working on IE as I expected.

dijit._editor.getChildrenHtml = function(/* DomNode */dom){
	// summary: Returns the html content of a DomNode and children
	var out = "";
	if(!dom){ return out; }
	var nodes = dom["childNodes"]||dom;
	var i=0;
	var node;
		out += dijit._editor.getNodeHtml(node);
	return out; // String

Followings are my result:

Case 1. Lost EMBED tag.

Input: <PARAM NAME="movie" VALUE=""><PARAM NAME="wmode" VALUE="transparent"> <embed src="" type="application/x-shockwave-flash" wmode="transparent" width="320" height="269" />

Output: <param name="movie" value="" /><param name="wmode" value="transparent" />

Case2. Lost TYPE attribute's value

Input:<EMBED src= width=320 height=269 type=application/x-shockwave-flash wmode="transparent"></EMBED>

Output:<embed height="269" src="" type="null" width="320" wmode="transparent" /></embed />

Change History (2)

comment:1 Changed 14 years ago by bill

Milestone: tbd

mark all (open) tickets w/blank milestones to be "tbd"; their milestones need to be set to a version number or to "future"

comment:2 Changed 14 years ago by bill

Milestone: tbdfuture
Resolution: wontfix
Status: newclosed

Does this relate to something in the Editor public API like getValue()?

In any case, we don't support editors with <embed> in them; not sure how that got into your Editor in the first place.

Tempted to close this as "wontfix" unless you can make a compelling argument.

Note: See TracTickets for help on using tickets.