Skip to content

Releases: wxik/react-native-rich-editor

v1.5.1

17 Dec 09:33
Compare
Choose a tag to compare
  • Add onFocus and onBlur
  • Add _.sendEvent to automatically generate ID to RN, and you can dynamically modify the dom corresponding to the event with commandDOM

v1.5.0

16 Dec 10:09
Compare
Choose a tag to compare
  • Add onMessage props on editor Callback outside postMessage internal type processing
  • Add _.sendEvent(type, data) event callback to RN, using onMessage to receive callback
  • Add commandDOM method can manipulate DOM

v1.4.0

16 Dec 03:45
Compare
Choose a tag to compare

Added

  • Add pasteAsPlainText props on editor
  • Add removeFormat props on editor
  • Add autoCapitalize props on editor of autocapitalize
  • Add onPaste props on editor callback paste value
  • Add onKeyUp props on editor callback keyup event
  • Add onKeyDown props on editor callback keydown event

Fix

  • Toolbar buttons activate/deactivate erratically after backspacing
  • disabled editor height fix

v1.3.0

19 Jul 07:33
Compare
Choose a tag to compare

Added

  • Add disabled props to RichEditor and Toolbar
  • Add disabledIconTint props to Toolbar
  • Add disabledButtonStyle props to Toolbar

Changed

  • iconMap Support incoming methods to return React elements

v1.2.1

16 Jul 01:21
Compare
Choose a tag to compare

Added

  • editor console.log in RN of DEV mode
  • Add strikethrough and insertLine on editor

Changed

  • editor content min height default by window height
  • focus selections not used android
  • Detail optimization
  • Set default Android keyboard open

Fix Bug

  • Fix Initialization speed by default 200ms
  • Fix heading1、heading2 key error
  • Fix Android keyboard of v1.1.1

v1.1.0

09 Jul 09:26
Compare
Choose a tag to compare

Now you can add custom functions (insertHTML or insertText) and styles (cssText or contentCSSText) to the editor, of course, Toolbar has also been customized extension

Added

  • Add contentCSSText by editorStyle options of Custom content style (css text)
  • Add cssText by editorStyle options of Custom editor global css text
  • Add initialFocus props to the editor initial request focus
  • Add onHeightChange props to the editor Callback after height change
  • Add insertVideo props to the editor insert video
  • Add insertText props to the editor insert text
  • Add insertHTML props to the editor insert html

Fix Bug

  • Fix Click outside the editor to get focus

v1.0.8

08 Jul 07:57
Compare
Choose a tag to compare

Added

  • Add onInsertLink event to toolbar, replace built-in processing
  • Add insertLink props to the editor to support customization
  • Add onChange props to the editor to get data

Fix Bug

  • Fix focusContentEditor Unable to get focus(android requires react-native-webview>=7.5.2
  • Fix insertImage Cannot be executed without focus

v1.0.7

18 Jun 16:42
Compare
Choose a tag to compare

Support color settings to adapt to dark, light mode

RichEditor new props editorStyle
`
backgroundColor?: string

color?: string

placeholderColor?: string
`

Full support for React Native Appearance dynamic settings

1.0.6

01 Apr 08:56
Compare
Choose a tag to compare

Fix selected toolbar error

v1.0.5

28 Mar 03:20
Compare
Choose a tag to compare

Added

  • Add useContainer props Wrap the editor webview inside a container
  • Add placeholder props Wrap the editor content placeholder

Changed

  • Upgrade componentWillReceiveProps to getDerivedStateFromProps
  • Upgrade props site on hideKeyboardAccessoryView and keyboardDisplayRequiresUserAction end
  • Upgrade Examples to RN 0.62.0 Webview 9.0.1

Removed

  • Removing experimental componentWillMount