HTML5: Why aren't people using ContentEditable for their websites using comments?

The contenteditable attribute looks so great for something like a comment box for websites, doesn't it? It shows all formatting, as opposed to inputs, so is this possible? is it smart I saw that IE does not support it? It would be easy to create backup input to show if the browser does not support content?

good idea or bad?

+7
source share
1 answer

I think the trick checks if the browser supports it. The current versions of most modern desktop browsers seem to support it just fine (although they do it differently and with different teams), but the mobile browsers I checked have questions. Since they simply behave incorrectly, offering all the same attributes and functions as their desktop counterparts, figuring out whether this is really supported is difficult. So, if it's something simple, like a comment form, where formatting may be nice but not strictly necessary, there may be more problems than it is worth.

However, adding content areas using progressive enhancement to replace text fields seems to work very well, so you can definitely provide a backup. If you can find out if the browser needs it.

+7
source

All Articles