sanity-io / sanity-plugin-markdown

Markdown support in the Sanity Studio
MIT License
51 stars 8 forks source link

fix: conditionally style based on readOnly access, correctly passthrough ref + onFocus #23

Closed robinpyon closed 2 years ago

robinpyon commented 2 years ago
  1. Conditionally style textarea based on readOnly status (refs #22).
  2. Passthrough onFocus to <ReactMde /> textarea sub-component, and pass forwarded ref to wrapper component (refs #21).
  3. Link <ReactMde /> textarea to <FormField /> label – clicking the field label will focus the markdown editor, consistent with how other inputs in the studio work
github-actions[bot] commented 1 year ago

:tada: This PR is included in version 2.1.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: