+ 1

I want to make a highlighter button that appears after a paragraph selection

I want to make the client choose the highlighter color is there a property to make elements appear after the client selects the paragraph just like the copy and cut

16th Nov 2020, 10:29 AM
Youssef Ashraf
Youssef Ashraf - avatar
4 Antworten
+ 4
I think I didn't understand yoy correctly. Do you mean something like this: https://code.sololearn.com/W22a7gp6QGHX/?ref=app ?
17th Nov 2020, 12:51 AM
Kevin ★
+ 4
Oh I see, you are talking about the context menu that appears on some devices. Well, that menu is device/OS dependant and can't be manipulated with JavaScript, there's no API for it. I don't know a way to achieve the behavior you want without (re)doing everything from scratch by yourself. That's definitely not easy (I wonder if it's possible at all, but I might be overlooking things).
17th Nov 2020, 11:15 PM
Kevin ★
+ 2
Kevin ★ thank you appreciate your help
17th Nov 2020, 11:18 PM
Youssef Ashraf
Youssef Ashraf - avatar
+ 1
Kevin yeah but i want instead of the colored button an edit button that looks the exact same as the copy cut web search and those things which only appears on selection
17th Nov 2020, 9:41 AM
Youssef Ashraf
Youssef Ashraf - avatar