-
jeez good to see the JS WYSIWYG community is just as trend-follow-y and filled with convergent thinking as most of Javascript. There are lots of cool ideas people, but if you all do the same one the same way then what is even the point?
-
I would literally kill someone for a WYSIWYG that doesn't require me to roll a React project or require me to buy into some elaborate theory about blobs, anti-DOMs, and how awful it is to trust users with HTML.
-
And if someone responds to this with a comment about fking Markdown I will reach through this tweet and strangle you.
-
Also: I can sanitize my own inputs thank you very much. I don't need what is basically a glorified textarea to try and arbitrate What Is Proper HTML for me ffs.
-
I get that there are different projects for different people but if I have to read one more snooty developer response to a GitHub issue that is some flavor of 'oh no why would you want to write HTML on the internet' I will scream.
-
If you started with jQuery and went to vanilla JS, or went from Python to C++, you've evolved your work by removing abstraction in order to learn and do something interesting that the abstraction wasn't good at, so don't look down on users who want to do the same.
-
And the dev that pissed on a user for wanting pre code blocks? Hey asshole, I bet sites with those are how you learned what you're doing right now.
-
If you get all judgy on your users for wanting to do more and dive deeper with your tool you don't deserve to have users.
-
So yeah, I like blobs and atomic content as much as the next guy but it isn't always the best solution and sure as hell isn't the best solution for inputting text on to the web. The best solution is the one that matches users' needs in context. The better solution gives options.
-
Sometimes that may not be DOM based, but don't crap on a user just because a DOM is what they need for their situation. And maybe don't everyone "evolve" away from that at once. There's a need for both types of tools.