- useCharacter code error
- fix broken check box action usage
- fixed auto formatting on empty content causing unnecessary formatting on compositionend
- handle checkboxList selected status
- addinh heading1 to RichToolbar
- force prepend https:// to links
- props
horizontaldefault = true
- 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
enterKeyHintString value to set return key type - returnKeyType
- Fix Non-rendering problems caused by transparency [issues]
- Add
autoCorrectprops of default false
onInputcallback input value
- Fix
blockquoteEnter new line
- Fix code wrapping
- Fix
useContainer = falsescroll
###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
initialHeightdoes not take effect - Fix the problem that the
heightdoes not decrease after the text content is reduced
useContainer = trueNeed to implementonCursorPositionand handle focus scrolling. Refer to examples- The
heightsetting will not be less thaninitialHeight
foreColor&hiliteColor- Add @1x resources to solve the problem that some user resources are not found
- Add
onCursorPositionEnter the position of the cursor - Add
caretColorcursor/selection color
- Add h1,h2,h3,h4,h5,h6 State mapping
setFontSizeChanges the font size for the selection or at the insertion point. This requires an integer from 1-7 as a value argument.setFontNameChanges 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
insertImageto solve the bug that the picture cannot be deleted
- Fix
pasteAsPlainText
#1.6.2
- new defaultActions
keyboardsetStrikethroughsetUnderlineremoveFormat - new icon styles
- Add
commandmethod Execute JS in the editor - Add Tools
outdentoutdentjustifyCenterjustifyLeftjustifyRight
- Fix Set the checkbox selected state to the value set by the user
#1.6.0
- New props
redo,undoon editor - New props
checkbox liston editor byexperiment
Changed
- toolbar can now be rendered in front of the editor
- Add
firstFocusEndto Editor When first gaining focus, the cursor moves to the end of the text
- Add
dismissKeyboardDismisses the active keyboard and removes focus. - Add
isKeyboardOpenReturns whether the keyboard is on
- Keyboard listener on unmount
- placeholder does not restore issues 121
- Add
onFocusandonBlur - Add
_.sendEventto automatically generate ID to RN, and you can dynamically modify the dom corresponding to the event with commandDOM
insertVideoandinsertImageAdd style params to dom
- Add
onMessageprops on editor Callback outside postMessage internal type processing - Add
_.sendEvent(type, data)event callback to RN, using onMessage to receive callback - Add
commandDOMmethod can manipulate DOM
- Add
pasteAsPlainTextprops on editor - Add
removeFormatprops on editor - Add
autoCapitalizeprops on editor of autocapitalize - Add
onPasteprops on editor callback paste value - Add
onKeyUpprops on editor callback keyup event - Add
onKeyDownprops on editor callback keydown event
- useContainer is false of used initialHeight
- Toolbar buttons activate/deactivate erratically after backspacing
- disabled editor height fix
- Add
disabledprops to RichEditor and Toolbar - Add
disabledIconTintprops to Toolbar - Add
disabledButtonStyleprops to Toolbar
iconMapSupport 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
contentCSSTextby editorStyle options of Custom content style (css text) - Add
cssTextby editorStyle options of Custom editor global css text - Add
initialFocusprops to the editor initial request focus - Add
onHeightChangeprops to the editor Callback after height change - Add
insertVideoprops to the editor insert video - Add
insertTextprops to the editor insert text - Add
insertHTMLprops to the editor insert html
- Fix Click outside the editor to get focus
- Fix
showAndroidKeyboardof Expo
- experiment
showAndroidKeyboardprops on keyboard of android focus
- Add
onInsertLinkevent to toolbar, replace built-in processing - Add
insertLinkprops to the editor to support customization - Add
onChangeprops to the editor to get data
- Fix
focusContentEditorUnable to get focus(android requiresreact-native-webview>=7.5.2) - Fix
insertImageCannot be executed without focus
- Add
editorprops substitutegetEditorfunction props - Add
editorStyleprops styling for container or for Rich Editor more dark or light settings
- Fix
selected toolbarerror
- Add
useContainerprops Wrap the editor webview inside a container - Add
placeholderprops Wrap the editor content placeholder
- Upgrade
componentWillReceivePropstogetDerivedStateFromProps - Upgrade
propssite on hideKeyboardAccessoryView and keyboardDisplayRequiresUserAction end - Upgrade
Examplesto RN 0.62.0 Webview 9.0.1
- Removing experimental
componentWillMount