Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

WYSIWYG editor no longer applies text edits such as bolding to selected test

I am having trouble with 1.10 installation of osTicket.

Entering text to describe a problem or sending a response to a problem in the WYSIWIG editor, it is no longer possible to use the editing tools and apply them to a selection. For instance, if I want to bold some text, I cannot highlight the text, then click on B in the editing tools. When I look at the HTML source, the tag is there, but it is immediately closed, i.e., it does not extent over the text I highlighted.

I can fix these issue by opening the source and use HTML mark-up, but my users can't. They don't know how to use HTML mark-up. This was not a problem prior to the migration to 1.10.

Can you let me know how I can address this problem?
Tagged:

Comments

  • I was able to resolve this by upgrading the version of jquery being used to jquery-1.12.4.min.js.
    Replace the version in the js subfolder and make sure that you edit any files that call jquery to call the new version.


  • edited August 29
    My apologies for never responding, somehow your response wasn't sent to me.

    I just changed the jquery version in three files (all incidences I could find):
    include\client\header.inc.php
    include\staff\header.inc.php
    include\staff\login.header.php
    and this indeed fixed the problem I asked about, so thank you very much!

    However, I still have another problem that I have discovered after posting this problem. The editor will not allow me to enter the less than (<) or greater than (>) signs (I have not tested other symbols, these are just the ones that my users use and they get frustrated when they disappear). Upon submission these symbols disappear. This even happens when I go into HTML editing mode and replace < with &lt; and > with &gt; Do you have by any chance any pointers on that?

  • Another ticket provided my solution - "Bug: Sanitzing with hmlawed, redactor and js > code tag in frontend is ignored and will be rendered" - 90583 
    I think this is the issue you are referring to.
    Let me know how that works for you.
  • Yeah again! That worked for me as well. Thank you so very much for your replies! I very much appreciate it!
  • Glad to share it. I spent ages trying to track down these issues so I am glad I could save you the same hassle.
Sign In or Register to comment.