react-native-selectable-text
react-native-selectable-text copied to clipboard
Option for adding React component in menuitem pops while selecting text.
is there any way to do that in current version or if not How can I proceed to add this feature ?

Above image shows I have used selectableText and passed menuitems there.
so I tried to edit RNSELECTABLETEXT.JAVA in package
where I have written my logic in only onPreparationActiomode in registerSelectionListener function for implementing
option of menu with circle view menuitem containing colors in it. but it's not working
like this :

output:

am I missing something pls help !!!
I need to make like this for just showing color in view as menuitem currently it showing text only.

@AlenToma pls take a look I really need help in this. provide me some suggestion.
Frieand I am really not the auther of this lib and I really dont know to much native code to help you with this. But I developed another version of context menu there you can custom add anything you like, even add images.
Have alook here https://github.com/AlenToma/react-native-text-contextmenu
[image: Screenshot (560).png]
I am getting this error while installing your repo. I think their is issue in your github repo due to which you pushed recently. can you pls take a look bro ?
On Sun, Feb 19, 2023 at 11:43 AM Alen Toma @.***> wrote:
Frieand I am really not the auther of this lib and I really dont know to much native code to help you with this. But I developed another version of context menu there you can custom add anything you like, even add images.
Have alook here https://github.com/AlenToma/react-native-text-contextmenu
— Reply to this email directly, view it on GitHub https://github.com/AlenToma/react-native-selectable-text/issues/16#issuecomment-1435903671, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANVYWIEHTRUBQ2BQ6BFHONLWYG2YBANCNFSM6AAAAAAVAGKV7I . You are receiving this because you authored the thread.Message ID: @.***>
install via npm npm install react-native-webview react-native-text-contextmenu
[image: image.png] I did the same see.
On Sun, Feb 19, 2023 at 11:55 AM Alen Toma @.***> wrote:
install via npm npm install react-native-webview react-native-text-contextmenu
— Reply to this email directly, view it on GitHub https://github.com/AlenToma/react-native-selectable-text/issues/16#issuecomment-1435905090, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANVYWICV4MPWCJZD4YXTQMDWYG4FPANCNFSM6AAAAAAVAGKV7I . You are receiving this because you authored the thread.Message ID: @.***>
bro pls help how can I run this package ?
On Sun, Feb 19, 2023 at 11:56 AM Shivam Singh @.***> wrote:
[image: image.png] I did the same see.
On Sun, Feb 19, 2023 at 11:55 AM Alen Toma @.***> wrote:
install via npm npm install react-native-webview react-native-text-contextmenu
— Reply to this email directly, view it on GitHub https://github.com/AlenToma/react-native-selectable-text/issues/16#issuecomment-1435905090, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANVYWICV4MPWCJZD4YXTQMDWYG4FPANCNFSM6AAAAAAVAGKV7I . You are receiving this because you authored the thread.Message ID: @.***>