react-medium-editor icon indicating copy to clipboard operation
react-medium-editor copied to clipboard

editor should use external props not internal state

Open thecaddy opened this issue 9 years ago • 3 comments

This editor uses an internal state meaning it is always editable but it should be controlled by an external prop where the parent controls the value whether by store, state, or something else.

thecaddy avatar Feb 03 '16 15:02 thecaddy

+1

zhaoyao91 avatar Apr 07 '16 09:04 zhaoyao91

+1

owenhoskins avatar Apr 21 '16 09:04 owenhoskins

While it sounds logical it might be harder to implement it due to this: https://github.com/wangzuo/react-medium-editor/issues/30#issuecomment-230005992

shark0der avatar Jul 01 '16 18:07 shark0der