OK, I've checked in Chrome and it works as expected. Still no luck on Firefox though. From what I've gathered online, this might be a FF bug because the correct implementation for FF appears well documented otherwise.
Thanks again! On Wednesday, 13 June 2018 13:57:58 UTC+1, hubertgk wrote: > > Hi, > > Is there a way to make certain elements undraggable through CSS? > > I've so far tried wrapping an image element within a <span> element with a > CSS class pointing to the below code but the image was still draggable. Is > there a simple way that works? > > .undraggable { > user-drag: none; > -webkit-user-select: none; /* Safari, Chrome */ > -webkit-user-drag: none; > -khtml-user-select: none; /* Konqueror */ > -moz-user-select: none; /* Firefox */ > -ms-user-select: none; /* IE */ > user-select: none; /* CSS3 */ > } > > <span class="undraggable">[img width=32 [image.svg]]</span> > > > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/612bde3a-c302-4ae7-b1aa-f1feb39699c5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.