From 1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde Mon Sep 17 00:00:00 2001 From: julieng Date: Sat, 2 Oct 2021 17:20:24 +0200 Subject: convert content to md --- .../fr/web/api/document/querycommandstate/index.md | 48 ++++++++-------------- 1 file changed, 18 insertions(+), 30 deletions(-) (limited to 'files/fr/web/api/document/querycommandstate') diff --git a/files/fr/web/api/document/querycommandstate/index.md b/files/fr/web/api/document/querycommandstate/index.md index ca874815cb..aae32ace2b 100644 --- a/files/fr/web/api/document/querycommandstate/index.md +++ b/files/fr/web/api/document/querycommandstate/index.md @@ -7,43 +7,31 @@ tags: - Document translation_of: Web/API/Document/queryCommandState --- -
{{ApiRef("DOM")}}
+{{ApiRef("DOM")}} -

Syntaxe

+## Syntaxe -
queryCommandState(String command)
-
+```js +queryCommandState(String command) +``` -

Exemple

+## Exemple -

TBD

+TBD -

Spécifications

+## Spécifications - - - - - - - - - - - - - -
SpécificationStatutCommentaire
{{SpecName('HTML Editing','#execcommand()','execCommand')}}{{Spec2('HTML Editing')}}Définition initiale.
+| Spécification | Statut | Commentaire | +| -------------------------------------------------------------------------------- | -------------------------------- | -------------------- | +| {{SpecName('HTML Editing','#execcommand()','execCommand')}} | {{Spec2('HTML Editing')}} | Définition initiale. | -

Compatibilité des navigateurs

+## Compatibilité des navigateurs -

{{Compat("api.Document.queryCommandState")}}

+{{Compat("api.Document.queryCommandState")}} -

Voir aussi

+## Voir aussi - +- {{domxref("HTMLElement.contentEditable")}} +- {{domxref("document.designMode")}} +- [Rich-Text Editing in Mozilla](/fr/docs/Web/Guide/HTML/Editable_content/Rich-Text_Editing_in_Mozilla) +- Les bogues du navigateur liés à `queryCommandState()`: [Scribe's "Browser Inconsistencies" documentation](https://github.com/guardian/scribe/blob/master/BROWSERINCONSISTENCIES.md#documentquerycommandstate) -- cgit v1.2.3-54-g00ecf