Open itsmunjal opened 5 years ago
I see your question, let me think and come back to you if I could get an idea.
Thanks.
The default Copy/Cut & Paste only applies for the built-in span styles, for bullet, which is a custom span, so we'll need to do the customize on the Copy / Cut & Paste actions.
Links for references: https://stackoverflow.com/questions/12995439/custom-cut-copy-action-bar-for-edittext-that-shows-text-selection-handles https://stackoverflow.com/questions/51285321/android-spannable-copy-cut-custom-span-in-edittext-only-pastes-the-base-class
I can work on it, but I am really sorry, it may take long as currently I have a few urgent for myself to finish.
If you can make a PR that would be the best, thank you in advance.
I checked in some unfinished code, you can take a look if you would like.
https://github.com/chinalwb/Android-Rich-text-Editor/commit/dfbf8b291b21af1dde9b8ad5e345cfbcc5a56bb2
Hi
I added some bullet text in the editor and then tried to cut all the content and then paste it, now pasted content doesn't show bulleted list. Can you guide me where to fix this?
Thanks