Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

How to make text selectable? #736

Open
earslan10 opened this issue Jan 30, 2017 · 3 comments
Open

How to make text selectable? #736

earslan10 opened this issue Jan 30, 2017 · 3 comments

Comments

@earslan10
Copy link

Hi,

Does anyone know how to disable clickable feature of widget so I can highlight and copy text on widget?

Thanks

@cflinspach
Copy link

cflinspach commented Mar 28, 2017

In application.coffee add items: "none" so your Batman.setImmediate -> looks like:

draggable:
stop: Dashing.showGridsterInstructions
start: -> Dashing.currentWidgetPositions = Dashing.getWidgetPositions()
items: "none"

#94 has more info.

@qthatswho
Copy link

This worked for me to disable dragging, but not to enable text selection. Anyone else having an issue where the text in widgets cannot be selected (even though the I-bar cursor shows up)?

@qthatswho
Copy link

For anyone interested, I ended up adding the following to Batman.setImmediate ->, and it enabled text selection:

gridster.data('gridster').disable().resize_disable()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants