zremboldt / obsidian-media-grid

Add more meaning and visual interest to your markdown documents by grouping sets of images, videos, or even audio tracks into grid layouts in Obsidian.
MIT License
181 stars 12 forks source link

Not working in 1.0 #4

Open sizhky opened 1 year ago

sizhky commented 1 year ago

I justs discovered and installed the css file as per instructions, but nothing is happening either in live editor or reader mode. Can anyone confirm that this works in 1.0 ?

timmb commented 1 year ago

Also not working for me

berot3 commented 1 year ago

me too v1.0.3

andremeireles commented 1 year ago

Did you guys installed the contextual typography plugin? It is a requirement for the snippet to work.

timmb commented 1 year ago

Yes, contextual typography is installed. I've tested on both MacOS and Windows and no luck. Is it working for you in the latest Obsidian?

andremeireles commented 1 year ago

Yes, contextual typography is installed. I've tested on both MacOS and Windows and no luck. Is it working for you in the latest Obsidian?

It's working for me. Obsidian 1.0.3. Windows 10. I tested it on my own vault and on the sandbox vault. Maybe you forgot to enable the toggle button.

image

timmb commented 1 year ago

Hmm ok on further testing it is working in Reader view, which I thought I'd tested but apparently not.

I guess my issue is now more about Live Preview mode: https://github.com/zremboldt/obsidian-media-grid/issues/1

ck7300373 commented 1 year ago

@sizhky @timmb @berot3 Hey guys, there is a workround for OBS 1.0~ :

  1. Open the css file with VSCode

  2. Replace ".is-readable-line-width" to "" ( or you can just delete the words ".is-readable-line-width" & all its occurrences. )

  3. snippet is working again ~~ !!

issam-seghir commented 1 year ago

for me it works in one vault and doesn't work in other vaults, that's strange!!

Update: I try everything to make this css snippet work in my new vault Until I found this solution

  "smartIndentList": true,
  "autoPairMarkdown": true,
  "autoPairBrackets": true,
  "foldIndent": true,
  "foldHeading": true,
  "livePreview": true,
  "showIndentGuide": true,
  "lineWrap": true

image

This setting i copy from my old vault to my new vault makes the snippet work for me in all themes I have tried

From AnupPuccin theme image

My obsidian version: 1.1.8

Update 2: After a short time, the snippet became not working, so I don't know if the solution I suggested earlier will work But after several failed attempts, I finally found the Solution, I don't know if you are facing the same problem but solving this problem made it work for me, and I did not find any problem with the img-gird snippet after that, give it a try

https://github.com/whyt-byte/Blue-Topaz_Obsidian-css/issues/505#issuecomment-1404866341

HernandoR commented 1 year ago

On 1.1.9 works fine with reading mode, wish for live mode

jerviscui commented 1 year ago

@sizhky @timmb @berot3 Hey guys, there is a workround for OBS 1.0~ :

  1. Open the css file with VSCode
  2. Replace ".is-readable-line-width" to "" ( or you can just delete the words ".is-readable-line-width" & all its occurrences. )
  3. snippet is working again ~~ !!

Great. It's working again.