Univention Bugzilla – Bug 45502
Update HTML WYSIWYG Editor to support simple html structures
Last modified: 2020-07-21 12:13:04 CEST
The current HTML WYSIWYG editor does not support styles for paragraphs like for simple paragraph with <p> tags or headline tags like <h2>. The app provider has to open the HTML source view to add such markup to the descriptions allowing HTML. The editor should be updated to support such paragraph styling. It would make editing much easier for the App Provider and it would save me time to adjust the markup accordingly to a better HTML document structure.
Created attachment 9310 [details] selfservice-ckeditor.patch first steps to integrate ckeditor into provider portal
CKEditor allows a lot of configuration: https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/builds/guides/integration/configuration.html The editor in the provider portal should provide the following toolbar elements: * headings * bold * italic * underline * ordered list * unordered list * increase indent * reduce indent * blockquote * remove formatting * cut * copy * paste * paste clear text * undo * redo * Link add/edit * Link clear * maximize * source code The following standard plugins for the editor should be disabled: * font * font color * style Those attributes are defined by the UMC style sheet. CKEditor even allows to define the headline styles to add pre-defined classes ;-). Very nice.
The license can be chosen from one of the following: * GNU General Public License Version 2 or later (the "GPL") * GNU Lesser General Public License Version 2.1 or later (the "LGPL") * Mozilla Public License Version 1.1 or later (the "MPL") https://github.com/ckeditor/ckeditor5/blob/master/LICENSE.md
The current editor is junk. It encourages ISVs to simply copy their texts from text processing software with all the clutter it brings with it like span, class and style stuff that needs to be cleaned up with effort. Those texts don't have structure either. If bug #46890 is considered, the editor should be a much simpler one with just supporting markdown for editing and preview rendering.
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
The app provider portal text editor still has the described limitations and should be updated.