Message from JavaScript discussions

September 2020

— But how would i remove it then?

— 

Only idea that i've got is to check if selection range starts and ends in the same node, and if it does, split it the way i've shown above

— If it does not, you can simply extractContents() and paste them as plain text

— Not entirely sure how will this work with italics and so on lol

— Any better ideas? 😖

— There is no simple WYSIWYG editor, all that is quite complex UI blocks.. more demotivation will follow..

Message permanent page

— I know, i only need the Bold italics text thing

— I bet you are trying to speedrun the minefield🤤 sit down, have some tea, relax..

— Bruh

— Consistency's the key my bruh

— Building a wysiwyg might be one of the hardest things to get done

— Https://www.youtube.com/watch?v=feUYwoLhE_4&ab_channel=FacebookDevelopers