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 Offline

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

Please create a new Ticket and we will get back to you as soon as we can.

#104689 pasting text into jce doesn't work

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 wecombine on Friday, 26 June 2020 13:02 BST

wecombine
dear jce-team,
i used jce for years and many projects, right now i have an issue with only 1 project, where i can't paste text into the editor.
if i do, following error comes into the console:

core.js?db5ab3955268ef4da73f17aafd446ca9:1
window.writeDynaList() is deprecated without a replacement!
window.writeDynaList @ core.js?db5ab3955268ef4da73f17aafd446ca9:1

tiny_mce.js?3e9633d70f3923f7697cc29fad1f8d7d:11
Uncaught Error: Syntax error, unrecognized expression: code,
at Function.Sizzle.error (tiny_mce.js?3e9633d70f3923f7697cc29fad1f8d7d:11)
at Sizzle.tokenize (tiny_mce.js?3e9633d70f3923f7697cc29fad1f8d7d:11)
at Object.Sizzle (tiny_mce.js?3e9633d70f3923f7697cc29fad1f8d7d:10)
at DOMUtils.select (tiny_mce.js?3e9633d70f3923f7697cc29fad1f8d7d:10)
at postProcess (editor_plugin.js?a4d17e1b09f2c662075301847c267c2d=1&context=16&3e9633d70f3923f7697cc29fad1f8d7d:2)
at p.<computed>.p.<computed>.<anonymous> (editor_plugin.js?a4d17e1b09f2c662075301847c267c2d=1&context=16&3e9633d70f3923f7697cc29fad1f8d7d:3)
at Dispatcher.dispatch (tiny_mce.js?3e9633d70f3923f7697cc29fad1f8d7d:7)
at pasteHtml (editor_plugin.js?a4d17e1b09f2c662075301847c267c2d=1&context=16&3e9633d70f3923f7697cc29fad1f8d7d:3)
at insertClipboardContent (editor_plugin.js?a4d17e1b09f2c662075301847c267c2d=1&context=16&3e9633d70f3923f7697cc29fad1f8d7d:3)
at Editor.<anonymous> (editor_plugin.js?a4d17e1b09f2c662075301847c267c2d=1&context=16&3e9633d70f3923f7697cc29fad1f8d7d:3)
DevTools failed to load SourceMap: Could not load content for chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/sourcemaps/onloadwff.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME

pasting text works with tinymce

looking forward for feedback,
best,
bart

Ryan
Does this happen with all text, or just a particular sample?

What is the source of the text? HTML from a web page, Word document?

Ryan Demmer

Lead Developer / CEO / CTO

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

wecombine
i just did a test:

copying text from rich text editor, html-page or word doesn't work.
but at least now, the "paste as plain text" function works again

copying text from normal editor works.



Ryan
copying text from rich text editor, html-page or word doesn't work.


It this with all text or just one particular sample?

Ryan Demmer

Lead Developer / CEO / CTO

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

wecombine
what do you mean exactly with "with all text or just one particular sample"?
i took randomly some text from word, html etc and everytime i tried, it didn't work.

Ryan
Please try JCE Pro 2.8.15 Beta 1 - https://www.joomlacontenteditor.net/downloads/editor/pro/development

Ryan Demmer

Lead Developer / CEO / CTO

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

wecombine
i updated the editor to 2.8.15 beta 1, but still the same behaviour:
- copying text into editor from rte or hthml doesn't work
- the "paste as plain text"-function works

Ryan
Have you set anything in the Extended Elements field in Editor Profiles -> Editor Parameters -> Advanced, or any custom options in the Clipboard parameters?

Ryan Demmer

Lead Developer / CEO / CTO

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

wecombine
ok, this seems to be the solution. i can't remember having changed some settings, but indeed in the clipboard parameters, there was following entered:
code,
it works when i change it into
code
many thanks!