hedgedoc / react-client

The frontend of the upcoming version 2.0
https://hedgedoc.dev
GNU Affero General Public License v3.0
104 stars 13 forks source link

Slides rendered differently to preview #404

Closed DougInAMug closed 2 years ago

DougInAMug commented 4 years ago

Hello! And thanks for all the work so far :bow:

I thought I would let it be known that the previews of slides (i.e. type: slide) do not reflect the rendered slides in presentation mode. Specifically:

  1. the background of previews are white, whereas the background of rendered slides are black: this leads to surprising and sometimes undesired visual presentation
  2. the content in previews appears to be smaller than in rendered slides: text or images that fit in the preview frame often overrun the rendered frame (example: https://demo.codimd.org/OcnQfVA8Rd2uB61dnuIDXw#)

Thanks for reading, happy to do testing :sweat_smile:

DerMolly commented 4 years ago

Hi @DougInAMug !

We are currently working on a 2.0 release, which will come with a brand new frontend. This problem should get fixed, when we're getting to re-implement the slide preview and slide mode in the new frontend. This will most likely be happening in the coming weeks, but a release of 2.0 has still some way to go, @davidmehren once said it could be expected later in 2020.

In the meantime I'll transfer this issue to the frontend repo.

ErikMichelson commented 2 years ago

The slide preview is now using the same renderer as the slide presentation mode. It can be tested here: https://hedgedoc.dev/n/slide-example

Sync-scrolling of the slide preview with the editor will follow up.