Skip to content

Chinese input in tinymce 4 #24637

Closed
Closed
@Consumewithadele

Description

@Consumewithadele

Preconditions (*)

  1. Magento CE 2.3.0, 2.3.2 & 2.3-develop
  2. Problem exist with this language packs and more:
    image

Steps to reproduce (*)

  1. Go to admin and open new product page.
  2. Open content tab to see wysiwyg editor.
  3. Switch keyboard to Chinese
  4. Start type any Chinese text in wysiwyg editor.

Expected result (*)

  1. System autocomplete popup for Chinese should work as expected.

Actual result (*)

  1. Looks like autocomplete popup for Chinese looses focus, navigation within autocomplete doesn't work.

Additional notices:
problem caused by
lib/web/mage/adminhtml/wysiwyg/tiny_mce/tinymce4Adapter.js
fixRangeSelection: function (editor) {} . If I comment call of this function, CN input works well.

If I switch wysiwyg to tinymce 3 in magento system configuration, CN input works well.

Additional question.
fixRangeSelection: function (editor) {}
has comment:
/**
* Fix range selection placement when typing. This fixes MAGETWO-84769
* @param {Object} editor
*/

Metadata

Metadata

Assignees

Labels

Component: Framework/WysiwygFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentProgress: doneReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions