From fb3227c0bc410a94106f4aa8f9248b1982707125 Mon Sep 17 00:00:00 2001 From: AJ Ortega Date: Mon, 16 Mar 2015 17:16:15 -0700 Subject: [PATCH 1/2] Add conteneditable FAQs entry. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 9c71081..a17e09c 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ Copyright (c) 2015 The Polymer Authors. All rights reserved. * [Custom element's constructor property is unreliable](#constructor) * [Contenteditable elements do not trigger MutationObserver](#contentedit) * [ShadowCSS: :host-context(...):host(...) doesn't work](#hostcontext) + * [execCommand isn't supported under Shadow DOM](#execcommand) ### Custom element's constructor property is unreliable See [#215](https://github.com/webcomponents/webcomponentsjs/issues/215) for background. @@ -100,3 +101,8 @@ don't work, despite working under native Shadow DOM. The solution is to use `pol ``` polyfill-next-selector { content: '.foo :host.bar, :host.foo.bar'; } ``` + +### execCommand and contenteditable isn't supported under Shadow DOM +See [#212](https://github.com/webcomponents/webcomponentsjs/issues/212) + +`execCommand`, and `contenteditable` aren't supported under the ShadowDOM polyfill, with commands that insert or remove nodes being especially prone to failure. From 2b6270a3bb56d8e284c8e04822c8fc13e89cf7a2 Mon Sep 17 00:00:00 2001 From: AJ Ortega Date: Mon, 16 Mar 2015 17:17:08 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a17e09c..442af18 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ don't work, despite working under native Shadow DOM. The solution is to use `pol polyfill-next-selector { content: '.foo :host.bar, :host.foo.bar'; } ``` -### execCommand and contenteditable isn't supported under Shadow DOM +### execCommand and contenteditable isn't supported under Shadow DOM See [#212](https://github.com/webcomponents/webcomponentsjs/issues/212) `execCommand`, and `contenteditable` aren't supported under the ShadowDOM polyfill, with commands that insert or remove nodes being especially prone to failure.