Detect if browser supports contentEditable?
问题 There's this question, but the solution posted is browser sniffing, which I'm trying to avoid. I need to make my website compatible with the iPad and perhaps newer Androids. I've been using an old version of the FCKEditor (now CK Editor) for my WYSIWYG editors, but that doesn't work on mobile, so I want to swap it out for a simple textarea with something like markdown, if it's not supported. Supposedly it won't work because mobile devices tend not to support this contentEditable property,