Skip to content

"disabled" option of plugin is not working #28

Description

@ab-pm

The draft-js-checkable-list-plugin decorates the <CheckableListItem> with a disabled prop, yet that doesn't actually take such a prop:

type Props = {
contentState: ContentState,
block: ContentBlock,
customStyleMap: Object,
customStyleFn: Function,
tree: List<any>,
selection: SelectionState,
decorator: DraftDecoratorType,
forceSelection: boolean,
direction: BidiDirection,
blockStyleFn: Function,
offsetKey: string,
blockProps: BlockProps,
}

Please add support for this, it would be very useful for usage with a readonly editor. It would be even greater if the readonly editor prop value could be used as a default for this :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions