react-markdown-editor icon indicating copy to clipboard operation
react-markdown-editor copied to clipboard

Setting tabIndex on MarkdownEditor doesn't work

Open TvrtkoM opened this issue 1 year ago • 2 comments

setting tabIndex attribute / prop on Markdown editor component like this:

              <MarkdownEditor
                value={value}
                tabIndex="0"
                onChange={onChange}
              />

it doesn't set it when rendered inside the app. Setting tabIndex manually in devtools makes it work as expected

TvrtkoM avatar Apr 05 '24 18:04 TvrtkoM

@TvrtkoM https://discuss.codemirror.net/t/is-there-a-way-to-configure-the-tabindex-of-the-textbox-without-hacking-the-source/5111/2

jaywcjlove avatar Apr 08 '24 15:04 jaywcjlove

@TvrtkoM The editor component is encapsulated based on CodeMirror, which may be helpful to you.

jaywcjlove avatar Apr 08 '24 15:04 jaywcjlove