Skip to content

Commit

Permalink
fix: change version
Browse files Browse the repository at this point in the history
  • Loading branch information
motionman committed Aug 26, 2021
1 parent 8e58a2e commit 25d1e21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-pell-rich-editor",
"description": "React Native Rich Editor",
"version": "1.8.6",
"version": "1.8.7",
"main": "src/index.js",
"license": "MIT",
"private": false,
Expand Down
2 changes: 1 addition & 1 deletion src/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ function createHTML(options = {}) {
if (canUseMention) {
if (prevKey === '@') {
range.commonAncestorContainer.nodeValue = value.replace('@', '');
// range.commonAncestorContainer.nodeValue = value.replace('@', '');
// range.setStart(range.startContainer, range.startOffset - 1);
// range.setEnd(range.startContainer, range.startOffset);
_postMessage({type: 'USE_MENTION'});
Expand Down

0 comments on commit 25d1e21

Please sign in to comment.