- Use rect to update offset_y when pasting
- added missing autoCorrect prop
- feat(ts): add sendAction method in definition file
- improve the getEditor prop to prevent crashes
- Fix insert links
- Updating the README with custom fonts usage
- Fix nested tags when using p separator
- feat: Add injectJavascript method
- feat(toolbar): get current color, font size and background color from editor
- Link click handler
- Add
enterKeyHint
String value to set return key type - returnKeyType
- Fix Non-rendering problems caused by transparency [issues]
- Add
autoCorrect
props of default false
onInput
callback input value
- Fix
blockquote
Enter new line
- Fix code wrapping
- Fix
useContainer = false
scroll
###Fix
- Fix Some input methods appear on the screen in English #154
- Fix The cursor positioning problem after getting the focus in the
ScrollView
- Fix the problem that
initialHeight
does not take effect - Fix the problem that the
height
does not decrease after the text content is reduced
useContainer = true
Need to implementonCursorPosition
and handle focus scrolling. Refer to examples- The
height
setting will not be less thaninitialHeight
foreColor
&hiliteColor
- Add @1x resources to solve the problem that some user resources are not found
- Add
onCursorPosition
Enter the position of the cursor - Add
caretColor
cursor/selection color
- Add h1,h2,h3,h4,h5,h6 State mapping
setFontSize
Changes the font size for the selection or at the insertion point. This requires an integer from 1-7 as a value argument.setFontName
Changes the font name for the selection or at the insertion point. This requires a font name string (like "Arial") as a value argument.
- Toolbar active/inactive
- Adjust the format of
insertImage
to solve the bug that the picture cannot be deleted
- Fix
pasteAsPlainText
#1.6.2
- new defaultActions
keyboard
setStrikethrough
setUnderline
removeFormat
- new icon styles
- Add
command
method Execute JS in the editor - Add Tools
outdent
outdent
justifyCenter
justifyLeft
justifyRight
- Fix Set the checkbox selected state to the value set by the user
#1.6.0
- New props
redo
,undo
on editor - New props
checkbox list
on editor byexperiment
Changed
- toolbar can now be rendered in front of the editor
- Add
firstFocusEnd
to Editor When first gaining focus, the cursor moves to the end of the text
- Add
dismissKeyboard
Dismisses the active keyboard and removes focus. - Add
isKeyboardOpen
Returns whether the keyboard is on
- Keyboard listener on unmount
- placeholder does not restore issues 121
- Add
onFocus
andonBlur
- Add
_.sendEvent
to automatically generate ID to RN, and you can dynamically modify the dom corresponding to the event with commandDOM
insertVideo
andinsertImage
Add style params to dom
- 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
- 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
- useContainer is false of used initialHeight
- Toolbar buttons activate/deactivate erratically after backspacing
- disabled editor height fix
- Add
disabled
props to RichEditor and Toolbar - Add
disabledIconTint
props to Toolbar - Add
disabledButtonStyle
props to Toolbar
iconMap
Support incoming methods to return React elements
- editor console.log in RN of DEV mode
- Add strikethrough and insertLine on editor
- Detail optimization
- Set default Android keyboard open
- Fix Initialization speed by default 200ms
- Fix heading1、heading2 key error
- Fix Android keyboard of v1.1.1
- The modified part has been subsequently supported on the web platform
- Fix selected Text styles
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
- 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 Click outside the editor to get focus
- Fix
showAndroidKeyboard
of Expo
- experiment
showAndroidKeyboard
props on keyboard of android focus
- 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
focusContentEditor
Unable to get focus(android requiresreact-native-webview>=7.5.2
) - Fix
insertImage
Cannot be executed without focus
- Add
editor
props substitutegetEditor
function props - Add
editorStyle
props styling for container or for Rich Editor more dark or light settings
- Fix
selected toolbar
error
- Add
useContainer
props Wrap the editor webview inside a container - Add
placeholder
props Wrap the editor content placeholder
- Upgrade
componentWillReceiveProps
togetDerivedStateFromProps
- Upgrade
props
site on hideKeyboardAccessoryView and keyboardDisplayRequiresUserAction end - Upgrade
Examples
to RN 0.62.0 Webview 9.0.1
- Removing experimental
componentWillMount