Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:AppGyver/react-native-zss-rich-te…
Browse files Browse the repository at this point in the history
…xt-editor
  • Loading branch information
aurimasmi committed Nov 23, 2021
2 parents 2690f46 + 85dc12e commit 8c858a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/RichTextToolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default class RichTextToolbar extends Component {
<View style={[{ height: 50, backgroundColor: '#D3D3D3', alignItems: 'center' }, this.props.style]}>
<FlatList
data={this.state.dataSet}
numColumns={this.state.actions.length}
horizontal
renderItem={(item) => this._renderAction(item.item.action, item.item.selected)}
/>
</View>
Expand Down
2 changes: 1 addition & 1 deletion src/editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -1525,7 +1525,7 @@
// Get the contents
var h = document.getElementById(editorId).innerHTML;

return h;
return h ? h.replace(/wvb/g, 'REPLACE') : '';
}

zss_editor.getTitleHTML = function() {
Expand Down

0 comments on commit 8c858a0

Please sign in to comment.