Inline copy+paste images in markdown field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hunterwebs
    Junior Member
    • May 2022
    • 9

    Inline copy+paste images in markdown field

    The WYSIWYG field does this feature already. Where you can paste in an image direct from clipboard and it automatically uploads it and inserts it inline in the field.

    Would it be possible to have this also work for Markdown fields too?

    I understand switching my Descriptions to WYSIWYG is an option, but I like the simplicity of markdown. It keeps the Description clean and clear and won't allow pasting in HTML from all sorts of strange sources. It forces neat formatting.

    Use case:

    I take a lot of screenshots using Windows snipping tool to detail bugs and to communicate changes. Currently I have to save the image, then upload it via Attachments, find the file in file system. I am then too lazy to insert the image inline in the markdown because of the effort needed and just say "see attachment".

    It would be a fantastic streamlining feature to allow simply CTRL+V into Markdown field and have the image uploaded automatically from the clipboard and the image code inserted as Markdown, just as WYSIWYG already does.

    Is this something the team might be interested in adding to EspoCRM?
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    This partly solves the problem. https://github.com/espocrm/espocrm/issues/3179

    Yet you still will need to insert an image markdown code:

    Code:
    ![](?entryPoint=image&id={ID})
    Click image for larger version

Name:	image.png
Views:	85
Size:	33.2 KB
ID:	111729
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • hunterwebs
      Junior Member
      • May 2022
      • 9

      #3
      This will save a lot of time. Thank you!

      Are there any plans to insert the markdown code as well? Either way, thank you for this enhancement.

      Comment

      Working...