You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 20, 2019. It is now read-only.
<polymer-elementname="custom-element" noscript><template><!-- formatblock(h1) does not work under the polyfill --><divid="wrapper"><content></content></div><!-- formatblock(h1) works under the polyfill --><!--<content></content>--></template></polymer-element><custom-elementid="myCustomElement" contenteditable="true"><p>test</p></custom-element>
After creating and selecting a range that includes the myCustomElement and executing something like
document.executeCommand("formatblock", isIE ? "
" : "h1");
Calling innerHtml on the myCustomElement returns
<p></p>
but the element is rendered correctly.
calling invalidateShadowRenderer(); after executing the command
fixes the innerHtml, but the element is not rendered correctly.