text icon indicating copy to clipboard operation
text copied to clipboard

image preview not showing - this.$attachmentResolver is null

Open rimusport opened this issue 1 year ago • 4 comments

Short summary of the issue

  • [ ] Markdown syntax is not properly rendered in text

I used this docker-compose config

version: '2'

volumes:
  nextcloud:
  db:

services:
  db:
    image: mariadb:10.6
    restart: always
    command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
    volumes:
      - db:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=
      - MYSQL_PASSWORD=
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud

  app:
    image: nextcloud
    restart: always
    ports:
      - 8080:80
    links:
      - db
    volumes:
      - nextcloud:/var/www/html
    environment:
      - MYSQL_PASSWORD=
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      - MYSQL_HOST=db

Screenshot

Image

Details

  • Nextcloud version: 30.0.2

rimusport avatar Nov 20 '24 08:11 rimusport

Dear @rimusport, I guess the screenshot is from the deck app, right? Text doesn't support inline attachments/images there. That's also why adding attachments in the editor lists the attachments for the deck card instead and doesn't allow to inline them.

I guess that you added some markdown syntax that referenced an image? How did you come to this result?

Technical background: The limitation is because the editor content is not bound to a markdown file (with a corresponding file ID) in deck. And that would be required to have an attachments folder.

mejo- avatar Dec 03 '24 12:12 mejo-

I have the same problem. Yes its the deck app. Reproduce: -open any card in deck -click on the "attach files" icon -upload image from computer -click on small arrow behind the file name to choose/insert that image

m0dbot avatar Feb 03 '25 15:02 m0dbot

I have the same issue when I try to link an image in the description of a Deck card, whether by "insert attachment", or by linking an external image by raw Markdown code, i.e.:

![](https://example.com/example.jpg)

@mejo- I am trying to insert a card cover image, which should be possible from what I understand. If this is the wrong way, what is the correct way to insert/link an image to show as cover image?

Compizfox avatar Apr 13 '25 14:04 Compizfox

hasn't worked for us in about 3 versions... we do not use it much (occasional joke pic here and there)

Gobytego avatar Apr 28 '25 13:04 Gobytego