Pasting text OJS

When i paste some text on configuration forms, after saving it returns either blank or with the previous text. It only accepted typed text.

  • Application Version - e.g., OJS 3.1.2

  • Description of issue: When i paste text, even if simple without any markup the form won’t be saved. Only if I type all the text.

  • Steps you took leading up to the issue: paste some text and save. No output on the javascript console.

  • What you tried to resolve the issue: disable stuff from config file, change php versions

  • Screenshots

  • Error log messages if applicable: nothing related.

You can post in any language, but please note there is a Spanish OJS forum and a German category on this forum.

Hi @Tiago_Santos,

Does this problem appear with a specific form and field?

Copying the text may act differently depending on the application. Does this problem appear when you are trying to copy it from a specific application? Did you try others?

Do you use any browser’s plugins that may interact with text copy-pasting?

I’ve tried on chrome and safari.

I’m pasting from google docs, sublime text editor or anything else.

I’ve disabled object cache, web cache and beacon.

It doesn’t accept the pasted text on static pages or author guides, per example.

php7.2 or php7.4 fpm or normal mode make the same results.