> Am 2019-11-23 um 08:12 schrieb Mojca Miklavec > <mojca.miklavec.li...@gmail.com>: >> >> Then you can use one of the online JS editors like CKeditor.\ > > Only if you spend an enormous amount of effort making sure that the > code is properly cleaned up rather than containing a gazillion random > html style tags which you can never reconstruct back into some > structured form. > > (And yes, my impression is that Massi spent a huge amount of effort in > configuring the editor and cleaning up the mess. My company didn't and > ended up with sometimes literally every word in a sentence using a > different font size or style. They gave up on html + cke pretty soon, > but couldn't be convinced that this was a bad idea upfront.)
Don’t exaggerate. Or maybe your company didn’t think about which tags are really necessary. A proper configuration that doesn’t allow nonsense, even if users paste text from Word documents, is not such a big effort. I can’t remember which JS editor I used >10 years ago for the editorial system of a city magazine, but I remember I only allowed a few tags (authors weren’t allowed to use font and color settings) and also run a HTML cleaner before saving. It was an effort until it worked, but not that much. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________