Skip to content

Link-style button in text area #1738

Answered by richbachman
pguptaDS asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @pguptaDS

We've been discussing this as a team, and I mocked up a quick prototype to show how this might look using Paste components. This is purely presentational so none of the buttons actually work.

https://codesandbox.io/s/copy-cert-example-r6px2?file=/src/index.tsx

There's a couple things we'd need to work-through:

  1. How important is the expand / collapse functionality? If its necessary, we'll have to add some for consumers to control the height of the text area. Right now the height is determined by the content, along with a max-height. I'm currently discussing options with team.
  2. The copy button functionality is a work in progress as well. We should have a copy to clipboard librar…

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
1 reply
@pguptaDS
Comment options

Comment options

You must be logged in to vote
9 replies
@richbachman
Comment options

@pguptaDS
Comment options

@richbachman
Comment options

@pguptaDS
Comment options

@richbachman
Comment options

Answer selected by TheSisb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants