Skip to content

Enable Text Selection Causes Shadowing of Text #223

@dreban

Description

@dreban

When a view is rendered (in this case from pdf) and the enableTextSelection property in javascript is set to true, all the text in the viewer is suddenly shadowed. Happens in Firefox, IE, Edge, Chrome and Safari. Setting it back, solves the problem, but I need the content selectable.

Sample of script:
var viewer = Crocodoc.createViewer('.viewer', {
url: 'https://view-api.box.com/1/sessions/[sessionid]/assets/',
layout: Crocodoc.LAYOUT_VERTICAL,
enableTextSelection:true
});
viewer.load();

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