Bug 45502 - Update HTML WYSIWYG Editor to support simple html structures
Update HTML WYSIWYG Editor to support simple html structures
Status: REOPENED
Product: UCS
Classification: Unclassified
Component: App Center - Self Service
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-11 09:45 CEST by Nico Gulden
Modified: 2020-07-21 12:13 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.057
Enterprise Customer affected?:
School Customer affected?:
ISV affected?: Yes
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Usability
Max CVSS v3 score:


Attachments
selfservice-ckeditor.patch (3.16 KB, patch)
2017-12-08 14:46 CET, Felix Botner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Gulden univentionstaff 2017-10-11 09:45:37 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.
Comment 1 Felix Botner univentionstaff 2017-12-08 14:46:14 CET
Created attachment 9310 [details]
selfservice-ckeditor.patch

first steps to integrate ckeditor into provider portal
Comment 2 Nico Gulden univentionstaff 2017-12-08 15:04:57 CET
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.
Comment 3 Nico Gulden univentionstaff 2017-12-14 16:32:03 CET
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
Comment 4 Nico Gulden univentionstaff 2018-04-26 10:26:31 CEST
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.
Comment 5 Ingo Steuwer univentionstaff 2020-07-03 20:52:36 CEST
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.
Comment 6 Nico Gulden univentionstaff 2020-07-21 12:13:04 CEST
The app provider portal text editor still has the described limitations and should be updated.