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 :-)
The
draft-js-checkable-list-plugindecorates the<CheckableListItem>with adisabledprop, yet that doesn't actually take such a prop:draft-js-checkable-list-item/src/CheckableListItem.js
Lines 14 to 27 in 9f40911
Please add support for this, it would be very useful for usage with a
readonlyeditor. It would be even greater if thereadonlyeditor prop value could be used as a default for this :-)