asciidoctor/asciidoctor-intellij-plugin

Extend image toolbar button to browse for file

Aberta

#848 aberto em 30 de ago. de 2021

 (1 comentário) (1 reação) (0 responsável)Java (155 forks)auto 404
enhancementhelp wanted

Métricas do repositório

Stars
 (392 estrelas)
Métricas de merge de PR
 (Mesclagem média 4d 11h) (3 fundiu PRs em 30d)

Description

Why the new feature should be added

The Paste Image toolbar button currently expects image data on the clipboard, such as image data from a graphics app, or an image file copied from a file manager.

If the clipboard does not contain an image, it throws an error:

IntelliJ IDEA_AsciiDoc-plugin-no-image-on-clipboard

How the new feature should work

While this error clearly explains that an image should be copied beforehand, instead of asking the user to start over, it might be better to allow them to continue by providing an option to browse for an image file if the clipboard does not contain image data.

Guia do colaborador