remove blocking attribute (#20116)

This commit is contained in:
PJ 2023-09-15 15:35:35 +01:00 committed by GitHub
parent aa201060e8
commit 84a65f0a26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 4 deletions

View file

@ -28,7 +28,6 @@ export const Title = ({ onChange, defaultValue, switchHelpContext }) => {
>
<textarea
ref={textAreaRef}
data-gramm_editor="false"
className="crayons-textfield crayons-textfield--ghost fs-3xl m:fs-4xl l:fs-5xl fw-bold s:fw-heavy lh-tight"
type="text"
id="article-form-title"

View file

@ -385,7 +385,6 @@ export const AutocompleteTriggerTextArea = forwardRef(
{...inputProps}
{...comboboxProps}
id={id}
data-gramm_editor="false"
ref={mergeInputRefs([inputRef, forwardedRef])}
onChange={(e) => {
onChange?.(e);

View file

@ -1,5 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`<AutocompleteTriggerTextArea /> should render when not replacing an element 1`] = `"<div data-testid=\\"autocomplete-wrapper\\" class=\\"c-autocomplete \\"><span aria-live=\\"assertive\\" class=\\"screen-reader-only\\"></span><textarea data-gramm_editor=\\"false\\"></textarea></div>"`;
exports[`<AutocompleteTriggerTextArea /> should render when not replacing an element 1`] = `"<div data-testid=\\"autocomplete-wrapper\\" class=\\"c-autocomplete \\"><span aria-live=\\"assertive\\" class=\\"screen-reader-only\\"></span><textarea></textarea></div>"`;
exports[`<AutocompleteTriggerTextArea /> should render when replacing an element 1`] = `"<div data-testid=\\"autocomplete-wrapper\\" class=\\"c-autocomplete \\"><span aria-live=\\"assertive\\" class=\\"screen-reader-only\\"></span><textarea data-gramm_editor=\\"false\\" aria-label=\\"test text area\\" id=\\"test-text-area\\" style=\\"font: -webkit-small-control; text-rendering: auto; letter-spacing: normal; word-spacing: normal; line-height: normal; text-transform: none; text-indent: 0; text-shadow: none; display: inline-block; text-align: start; background-color: white; border: 1px solid; flex-direction: column; resize: auto; cursor: auto; padding: 2px; white-space: pre-wrap; word-wrap: break-word; visibility: visible; transition: none;\\"></textarea></div>"`;
exports[`<AutocompleteTriggerTextArea /> should render when replacing an element 1`] = `"<div data-testid=\\"autocomplete-wrapper\\" class=\\"c-autocomplete \\"><span aria-live=\\"assertive\\" class=\\"screen-reader-only\\"></span><textarea aria-label=\\"test text area\\" id=\\"test-text-area\\" style=\\"font: -webkit-small-control; text-rendering: auto; letter-spacing: normal; word-spacing: normal; line-height: normal; text-transform: none; text-indent: 0; text-shadow: none; display: inline-block; text-align: start; background-color: white; border: 1px solid; flex-direction: column; resize: auto; cursor: auto; padding: 2px; white-space: pre-wrap; word-wrap: break-word; visibility: visible; transition: none;\\"></textarea></div>"`;