3 ms·
Another rich text editor that doesn't enforce good typographic rules: You shouldn't underline text, except hyperlinks. Text shouldn't be both bold and italic. T
by legulere 11y ago
Another rich text editor that doesn't enforce good typographic rules: You shouldn't underline text, except hyperlinks. Text shouldn't be both bold and italic. The text alignment of the body should be block or left (right instead of left in right aligned scripts).
Also no semantic information like what is a caption at all.
- mtrpcic 11y agoWhy would the editor enforce those rules? Does Microsoft Word enforce those rules? Pages? Google Docs? This is a library that brings WYSIWYG editing to the web in a fairly clean way, and it shouldn't enforce any specific rules. If you want to enforce rules on your implementation, you can do so, but the library should be full featured and allow customization to have as much utility as possible.
- andybak 11y agoHmmmm. The defaults should be good. And some horrible things should maybe be off by default and strongly discouraged. Underlining is a good example. It's a no-no on the web (looks too much like a hyperlink) and if your destination is print even then it's ugly and amateurish. I can't see it being too much of a stretch to just leave it out of an editor.
- apocalyptic0n3 11y agoThat should definitely be on the author using the WYSIWYG, not the editor being used.