I have the following code demonstrating contenteditable property and a button that will inject bold text into the paragraph with contenteditable area. My question is how to retu
If you're in an iframe, call focus() on the default view.
myiframedocument.execCommand('Bold',false,null); myiframedocument.defaultView.focus();