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

How to make text selectable? #736

Open

Description

@earslan10

Hi,

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

Thanks

Activity

  1. cflinspach commented on Mar 28, 2017

    @cflinspach

    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.

  2. qthatswho commented on Jul 6, 2017

    @qthatswho

    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)?

  3. qthatswho commented on Jul 17, 2017

    @qthatswho

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions