You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Online

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

#105880 JCE Pro 2.9.2 beta 8 - paste broken

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Giuse on Thursday, 12 November 2020 15:20 GMT

Giuse
Hi, in JCE Pro 2.9.2 beta 8, Contro-V in Windows does not work anymore, the browser console throws this error
Cannot set property 'next' of undefined, at Node.insert....
Just create a new article and try to paste some text with Ctrl-V
cheers

Giuse

Ryan
I'm not seeing this issue in my tests.

Which browser are you using?

Does this happen with any pasted content, or just a specific source?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Giuse
Hi Ryan, you are right, it depends on the content.
I tried with some php code and it's not working, with a normal word "foo" it works.
I am using Chrome 86 on Windows 10

Ryan
Please try beta 9 - https://www.joomlacontenteditor.net/downloads/editor/pro/development/jce-pro-2-9-2-dev

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Giuse
paste now works but there is another problem:
-) new article
-) paste php code
-) it's ok, then add "hello" after last line
-) swith off the editor
-) content becomes corrupted

Ryan
Are you adding "hello" before or after the closing ?> tag?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Giuse
after

Ryan
Do you expect that "hello" to be part of the PHP statement? If so, then add php tags around it. Otherwise, if it is intended as text in a new paragraph, then use SHIFT + Enter to create a new paragraph after the PHP Code Block, and type the text in there.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Giuse
ok, understood, otherwise I get strange results :)