When pasting text into the ckeditor, the β€œRTL” direction (set as default) gets unset.

Created on 8 March 2023, over 1 year ago
Updated 10 June 2023, about 1 year ago

Problem/Motivation

When pasting text into the ckeditor, the β€œRTL” direction (set as default) gets unset.

Steps to reproduce

  1. On a fresh D10 site, install and enable the latest ckeditor_bidi module (as of now that would be 4.x)
  2. Go to edit the text formats / editors at [site.domain]/admin/config/content/formats
  3. Add the "BiDi" button to the editor toolbar
  4. On the plugin config, set the "RTL" option to be the Default
  5. Go create a new node
  6. Check that the bidi button is enabled by default in the ckeditor
  7. Copy a couple of paragraphs from somwhere. I've used an arabic website, but can be reproduced with any language text
  8. Paste the text inside the ckeditor
  9. See how the bidi button get's "unset"

Remaining tasks

Add tests maybe, to make sure the bug is not reintroduced?

πŸ› Bug report
Status

Closed: duplicate

Version

4.0

Component

Code

Created by

πŸ‡¦πŸ‡·Argentina anairamzap Buenos Aires

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024