[rt-users] Unable to paste into Rich Text Editor since

Jan Kurianski jan.kurianski at numbers.net.au
Mon May 26 22:31:34 EDT 2014


If you open the JavaScript console afterwards, do you see an error?

Cheers,
Jan

-----Original Message-----
From: rt-users [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Cena, Stephen (ext. 300)
Sent: Friday, 23 May 2014 10:30 PM
To: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Unable to paste into Rich Text Editor since

I'm seeing the same thing here (submitted my own comment to the group). I've tried Firefox 29, IE10 and Chrome 35. It's hit or miss. Sometimes when I right click & select "Paste" the window flashes & nothing happens. Sometimes when I use CTRL+V, text will paste.


Stephen J. Cena
Systems Administrator - MIS/IT Dept
Quality Vision International
850 Hudson Ave
Rochester,NY 14620
Phone: 585-544-0450 x300
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Please report email problems to: postmaster at qvii.com

QVII MIS/IT Dept - We do what we must because we can.
"Thank you for helping us help you help us all."
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

----------------------------------------------------------------------

Message: 1
Date: Mon, 19 May 2014 13:23:08 -0400
From: Kevin Falcone <falcone at bestpractical.com>
To: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Unable to paste into Rich Text Editor since
	upgrading to RT 4.2.4
Message-ID: <20140519172308.GB5652 at jibsheet.com>
Content-Type: text/plain; charset="us-ascii"

On Fri, May 16, 2014 at 10:57:57PM +0000, Jan Kurianski wrote:
>    Since upgrading to RT 4.2.4, users are unable to paste into the rich text editor.  Only
>    bothered to reproduce this with Google Chrome on a Mac, as the error indicates that the
>    problem is browser-wide.

Just tested with Google Chrome on a Mac 34.0.1847.137 and copy/paste html or plain text into the rich text editor on new ticket creation works fine.

I assume you're actually pasting some rich text from a word document, which is important to the bug report, and not just random plain text.

-kevin

>    1. Ensure your configuration has the Rich Text Editor enabled.
>    2. Reply to any ticket (or compose a new ticket).
>    3. Click on the text editor to give it focus.
>    4. Paste, using keyboard shortcut.
>    What happens:
>    Nothing.
>    What is expected:
>    Text from the clipboard appears in the editor.
>    Chrome shows the following errors in the console (where [1]https://redacted/rt is the root of
>    my RT site):
>       GET https://redacted/rt/Ticket/plugins/pastefromword/filter/default.js?t=D08E 404 (Not
>    Found) squished-884af658b44cdd5c585766ea0a0518ba.js:3325
>       Uncaught TypeError: undefined is not a function
>    squished-884af658b44cdd5c585766ea0a0518ba.js:4040
>    The dynamic GET originates from this file (when un-squished):
>    /opt/rt4/share/static/RichText/ckeditor.js
>    CKEDITOR.getUrl(a.config.pasteFromWordCleanupFile||d+"filter/default.js")
>    A hacky patch that solves the problem for me:
>    /opt/rt4/share/static/RichText/config.js
>    47a48,50
>    >
>    > // Since ckeditor is always used from an /rt/Controller, use '../' to get back to the RT
>    root directory.
>    > config.pasteFromWordCleanupFile =
>    '../static/RichText/plugins/pastefromword/filter/default.js';
>    Cheers,
>    Jan
> 
> References
> 
>    Visible links
>    1. https://redacted/rt

> --
> RT Training - Dallas May 20-21
> http://bestpractical.com/training
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140519/cae2d369/attachment-0001.pgp>
--
RT Training - Boston, September 9-10
http://bestpractical.com/training



More information about the rt-users mailing list