stable

Clone or download

Read-only

request #14797: Add support for inline style <code> in ckeditor

There isn't any dedicated button for <code>, we are forced to use "Styles" dropdown. This dropdown is reduced to only a few inline style: * bold * italic * code * superscript * subscript Bold and Italic buttons are kept in the toolbar to ease access. Superscript and Subscript has been asked because it can be useful for example in the electronic field to write something like: > V<sub>IO_Sup</sub> shall be strictly lower than V<sub>Sup</sub> Underline, Subscript, and Superscript buttons cannot be put on the toolbar because they are explicitely removed in our version of ckeditor[0]. Underline is not added to the Styles dropdown because it is rarely a good idea to underline text on the web. <sub> et <sup> was lacking style in TLP due to its reset. It is now fixed. The list of impacted ckeditor instances is the following: * artifact view (follow-up comment or HTML text fields) * artifact modal (angular) * documents » embedded file editor * admin » statistics » project over quota » warn administrators * admin » massmail * admin » global configuration » homepage headline * frs licences definition * MyProject widget » contact modal [0] https://github.com/ckeditor/ckeditor4-releases/blob/standard/4.11.1/config.js#L31 Change-Id: Iebb91ab775a7f22a0bd9c406b611b7202eaa11db

Modified Files

Name
M plugins/document/scripts/document/components/Folder/Property/EmbeddedProperties.vue +10 −2 Go to diff View file
M plugins/statistics/scripts/admin.js +1 −4 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution-collection/execution-service.js +8 −1 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/common/RichTextEditor.vue +9 −2 Go to diff View file
M src/scripts/codendi/RichTextEditor.js +10 −3 Go to diff View file
M src/scripts/frs/admin/license-agreement.js +1 −4 Go to diff View file
M src/scripts/site-admin/massmail.js +1 −4 Go to diff View file
M src/themes/tlp/src/scss/components/_typography.scss +10 −0 Go to diff View file
M src/www/scripts/tuleap/admin-homepage.js +1 −4 Go to diff View file
M src/www/scripts/tuleap/tuleap-ckeditor-toolbar.js +16 −6 Go to diff View file
M src/www/scripts/widgets/contact-modal.js +1 −4 Go to diff View file
M src/www/tlp-doc/resources/visual-assets/typo/paragraphs/example.html +2 −1 Go to diff View file