vivekneupane11 / reactjs-editor-demo

https://reactjs-editor-demo.vercel.app
2 stars 1 forks source link

unable to highlight if there is a bold tag in text #1

Open emilianos opened 4 days ago

emilianos commented 4 days ago

if you apply bold to a couple of words in the text and then try to highlight the whole paragraph it doesnt work I guess it wont work on more complex html with anchor tags and so on

vivekneupane11 commented 4 days ago

Yes. When it comes to applying bold to a couple of words in the text and then try to highlight the whole paragraph, it has to be the other way around. Meaning you can highlight the whole paragraph first and then make text bold.

This library does not yet support complex structures like tag yet.

On Fri, Oct 18, 2024 at 9:54 PM Emiliano Gonzalez @.***> wrote:

if you apply bold to a couple of words in the text and then try to highlight the whole paragraph it doesnt work I guess it wont work on more complex html with anchor tags and so on

— Reply to this email directly, view it on GitHub https://github.com/vivekneupane11/reactjs-editor-demo/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ6P7U2FJHQY2C5KOSP33K3Z4EXELAVCNFSM6AAAAABQGIOIVOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU4TOOJRGQYTGNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>