Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Positions/Cartography plugin CSS interferes with html formatting in KnowledgeBase #52

Open
derry43 opened this issue Jul 21, 2020 · 1 comment

Comments

@derry43
Copy link

derry43 commented Jul 21, 2020

Version of the plugin : 4.6.0
Version of your GLPI : 9.4.5

Steps to reproduce: With positions/Cartography plugin installed and enabled, create a knowledge base item with formatted text e.g. bold or italic. This shows fine in Edit (third tab) window, but the formatting disappears in the view (first tab). Disabling the positions/Cartography plugin fixes this. I have traced cause to inclusion of plugins/positions/lib/extjs/resources/css/ext-all.css CSS in plugins/positions/setup.php. The same CSS is included by the fusioninventory pluging, however there is a test applied to it's inclusion and unlike the code in positions plugin it does not interfere with the text formatting.

if (script_endswith("deploypackage.form.php")) {
         $PLUGIN_HOOKS['add_css']['fusioninventory'][]="lib/extjs/resources/css/ext-all.css";

perhaps this is something that can be done in positions plugin.

Expected result: html formatting should display in knowledge base items even in view mode.

Actual result: The positions/Cartography plugin code interferes with the display of the formatted text.

@stonebuzz
Copy link

idem with <ul><li> in all richtext zones

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@stonebuzz @derry43 and others