Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

109
Visualizações
React Draft Wysiwyg Expand Image OnClick?

How would I expand an image when I click it to become fullscreen on React Draft Wysiwyg? I currently use createEntity and AtomicBlockUtils to manually insert the copy pasted image into the editor. Could I put a onClick function anywhere along the way?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

The solution to this is making a custom function on the editor toolbar that expands the editor textfield itself (change css using className). Create a className in CSS that is essentially .textfield_on_expand img {width: "whatever you want"; height: "whatever you want} . Its a really hacky solution and not very elegant but as far as I know the only way to expand.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda