
Hello Michiel
The issues I got happen in the precise following case:
An agent is copying and pasting some text, tables from different sources (web, stand-alone applications).
When submitting the text everything seemed ok, but when we got the reply with our response below, we can see that there are some fonts that are bigger than others and other formatting stuff like this.
We implemented a modify function that allows us to modify every article in a ticket, so I am able to go back to this article with mixed fonts, modify, put in html mode and pick the code .. there I can see that there is a big mess with html (being imported from the copying-pasting stuff)
The problem with the editors used by OTRS is that there are not WYSIWYG.
TinyMCE is WYSIWYG so it solves my problem.
I finally succeed in installing this new editor, everything works fine and I have a plenty of new functions like fullscreen, preview, print, ... The only thing I need to arrange is about the spellchecker.
Hope it helps :)
Message: 2
Date: Mon, 25 Jul 2011 18:17:03 +0200
From: Michiel Beijen
Hi Martin,
Many thanks for your quick answer. I am an old developer (Cobol, MS-Access, ...) but am not afraid to go into code.
So I think I have to remove the code about the default editor and put the one of tinyMCE (provided by them) instead?
And I just place the files in \var\httpd\htdocs\js where there is the fckeditor ?
Will look at your example !
Philippe
Message: 2 Date: Mon, 25 Jul 2011 15:08:16 +0200 From: Martin Edenhofer
Subject: Re: [otrs] Replace the rich editor with TinyMCE To: "User questions and discussions about OTRS." Message-ID: Content-Type: text/plain; charset="us-ascii" Hi Philippe,
it's not planned, but yes, you can replace the RTE. The file which you need to change is Kernel/Output/HTML/Standard/RichTextEditor.dtl (you need to have developer skills to do the replacement).
As another example of RTE replacement see http://edenhofer.de/p/aloha-editor/ (OTRS 3 with Aloha Editor "beta" - http://www.aloha-editor.org/).
?-Martin
On 25.07.2011, at 14:36, Martignier, Philippe wrote:
Hi there,
I have several issues using OTRS 2.4.8 about copy and paste with html tags.
It seems that TinyMCE is a better editor than the one used by default in OTRS. (I tried also the one in OTRS 3.0 but it is the same as before just with a new look)
My questions:
1) is it possible to change this rich text editor with another one?
2) where and what file(s) to modify? I imagine there is a call to a javascript with the text field in parameter
Thanks for any help,
Philippe
Philippe Martignier Communications Division Customer Service Center Email : Philippe.Martignier@wipo.int Phone : 00 41 022 338 72 36 Building : NC Office : 3, 316
World Intellectual Property Organization Disclaimer:
This electronic message may contain privileged, confidential and copyright protected information. If you have received this e-mail by mistake, please immediately notify the sender and delete this e-mail and all its attachments. Please ensure all e-mail attachments are scanned for viruses prior to opening or using.