﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6435	Modifications to the document aren't reflected in the preview window	Tobi Reif		"Some snipped example lines:

var selected = editor.getSelection().getSelectedElement();
if (selected.getName() == 'foo') {
  selected.setAttribute('some_attribute',bar);
  // ...

This works, but the change is not reflected in
CKEditor's preview window. getData() might also
not have the modified HTML code.

I had asked in the forum:
""How to (using JS) modify the HTML code of the
document in the proper way - so that it will
really be changed: so that I can expect the
preview window (and the data from getData() ) to
reflect these changes.""

But didn't get a general solution.

Thus far I consider this a bug.

How to modify the HTML code of the document in a
way that causes the preview window (and the data
from getData() ) to reflect these changes?
"	Bug	closed	Normal		General		invalid		
