obsidian-media-grid icon indicating copy to clipboard operation
obsidian-media-grid copied to clipboard

Not working in 1.0

Open sizhky opened this issue 2 years ago • 10 comments

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 ?

sizhky avatar Oct 25 '22 10:10 sizhky

Also not working for me

timmb avatar Oct 30 '22 18:10 timmb

me too v1.0.3

berot3 avatar Nov 09 '22 10:11 berot3

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

andremeireles avatar Nov 12 '22 23:11 andremeireles

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?

timmb avatar Nov 17 '22 18:11 timmb

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

andremeireles avatar Nov 17 '22 19:11 andremeireles

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

timmb avatar Nov 17 '22 22:11 timmb

@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 ~~ !!

ck7300373 avatar Dec 03 '22 15:12 ck7300373

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

  • Make sure you use the pure snippets from this repo without any edits (like replacing ".is-readable-line-width" to "" in the previous comment)
  • Copy this setting to app.josn in the .obsidian folder (make sure you copy all of them even if you activate this setting in the GUI in the obsidian setting)
  "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

issam-seghir avatar Jan 09 '23 16:01 issam-seghir

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

HernandoR avatar Feb 03 '23 05:02 HernandoR

@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.

jerviscui avatar Sep 08 '23 03:09 jerviscui