imnapo / react-native-cn-richtext-editor

Richtext editor for react native
MIT License
218 stars 114 forks source link

textInputStyle props do not reflect any changes on the textInput. #157

Open vtn-dev-sameer opened 3 years ago

vtn-dev-sameer commented 3 years ago
<CNEditor
        ref={(input) => setEditor(input)}
        onSelectedTagChanged={onSelectedTagChanged}
        onSelectedStyleChanged={onSelectedStyleChanged}
        hideKeyboardAccessoryView
        textInputStyle={{fontFamily: 'Lato-Regular', fontSize: 100}}
        placeholder={'ffsdsadadsdfdfs'}
        style={{backgroundColor: '#fff'}}
        styleList={defaultStyles}
        initialHtml={value}
        onValueChanged={(val) => {
          setValue(val);
        }}
      />
vtn-dev-sameer commented 3 years ago

I am using :

"react-native-cn-richtext-editor": "^2.0.0-rc3",