From 1ece87f888ef2c2e7ff595e09f6dd72f8e980173 Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Mon, 8 Jul 2024 11:29:39 +0200 Subject: [PATCH 1/2] [docs] Fix typos (#42862) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: omahs <73983677+omahs@users.noreply.github.com> Co-authored-by: Aarón García Hervás --- .../material/customization/right-to-left/right-to-left.md | 4 ++-- docs/pages/blog/mui-x-mid-v6-features.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/data/material/customization/right-to-left/right-to-left.md b/docs/data/material/customization/right-to-left/right-to-left.md index c01c5b567b47d6..5787bbdd5255f0 100644 --- a/docs/data/material/customization/right-to-left/right-to-left.md +++ b/docs/data/material/customization/right-to-left/right-to-left.md @@ -20,7 +20,7 @@ Add `dir="rtl"` to the app's root `` to set the global text direction: ``` -If your React app doesn't control the root ``, use the JavaScript API before the component tree is rendered, as a workaround: +If you can't set the `dir` attribute directly on the root `` element, as a workaround, use the JavaScript API before the page is rendered: ```js document.dir = 'rtl'; @@ -28,7 +28,7 @@ document.dir = 'rtl'; #### Locally -Add the `dir="rtl"` attribute to any other HTML element or React component if you need limit the scope of the text direction to that element and its children. +Add the `dir="rtl"` attribute to any other HTML element or React component if you need to limit the scope of the text direction to that element and its children. :::warning Components that use React portals (like the [Dialog](/material-ui/react-dialog/)) do _not_ inherit the `dir` attribute from parents, because they actually render outside of their parental DOM trees. diff --git a/docs/pages/blog/mui-x-mid-v6-features.md b/docs/pages/blog/mui-x-mid-v6-features.md index c8d8b3fad5152b..1d337bb6349bb2 100644 --- a/docs/pages/blog/mui-x-mid-v6-features.md +++ b/docs/pages/blog/mui-x-mid-v6-features.md @@ -69,7 +69,7 @@ Check out all the possibilities in the [Date Pickers—Digital clock documentati ### Filter on column headers [](/x/introduction/licensing/#pro-plan 'Pro plan') Filtering on column headers gives users the ability to quickly filter data without any additional menu. -Use the the `unstable_headerFilters` prop to activate this feature. +Use the `unstable_headerFilters` prop to activate this feature. The new filter fields are displayed below the headers, and are synchronized with the filter panel. If you prefer more simplicity, you can disable the default filter panel using the `disableColumnFilter` prop, and set filters to use only the default operator. From 570e5524b9052ef1497201e6bc8b09b9bd2f575a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aar=C3=B3n=20Garc=C3=ADa=20Herv=C3=A1s?= Date: Mon, 8 Jul 2024 11:40:43 +0200 Subject: [PATCH 2/2] Undo change --- docs/data/material/customization/right-to-left/right-to-left.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/material/customization/right-to-left/right-to-left.md b/docs/data/material/customization/right-to-left/right-to-left.md index 5787bbdd5255f0..598c0fe5f1e48a 100644 --- a/docs/data/material/customization/right-to-left/right-to-left.md +++ b/docs/data/material/customization/right-to-left/right-to-left.md @@ -20,7 +20,7 @@ Add `dir="rtl"` to the app's root `` to set the global text direction: ``` -If you can't set the `dir` attribute directly on the root `` element, as a workaround, use the JavaScript API before the page is rendered: +If your React app doesn't control the root ``, use the JavaScript API before the component tree is rendered, as a workaround: ```js document.dir = 'rtl';