File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 4
4
"type" : " git" ,
5
5
"url" : " https://github.com/wix/react-native-zss-rich-text-editor.git"
6
6
},
7
- "version" : " 1.3.2 " ,
7
+ "version" : " 1.3.3 " ,
8
8
"description" : " React Native Wrapper for ZSSRichTextEditor" ,
9
9
"main" : " index.js" ,
10
10
"license" : " SEE LICENSE IN LICENSE" ,
Original file line number Diff line number Diff line change 1035
1035
//sel.collapseToStart();
1036
1036
var range = sel . getRangeAt ( 0 ) ;
1037
1037
var span = document . createElement ( 'span' ) ; // something happening here preventing selection of elements
1038
- range . collapse ( false ) ;
1038
+ if ( zss_editor . isUsingiOS ) {
1039
+ range . collapse ( false ) ;
1040
+ }
1041
+
1039
1042
range . insertNode ( span ) ;
1040
1043
var topPosition = span . offsetTop ;
1041
1044
span . parentNode . removeChild ( span ) ;
You can’t perform that action at this time.
0 commit comments