Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Froala Editor Copy-Paste results in lists are heavily dependent on cursor position during selection making result unpredictable #4424

Closed
evgenyvinnik opened this issue Mar 9, 2022 · 1 comment

Comments

@evgenyvinnik
Copy link

Expected behavior.

Copy-pasting of lists would preserve styling for the text that is being copied (that is bold remains bold, regular remains regular)

Actual behavior.

In reality same text is being

Steps to reproduce the problem.
  1. Open https://froala.com/wysiwyg-editor/examples/live-code-preview/
  2. Paste a list, here is an example

  • Date Settings:
    • Date Time Culture: The selection of this field defines what region's localized date and time options are displayed for selection via the Date Format and Time Format fields.
    • Date Format: Once a selection has been made, an example of the format will be displayed below this field.
  • Time Settings
    • Time Format: Once
  • Number Format: This field cannot be edited manually and can only be changed by the selection made in the Date Time Culture field.

  1. Now create a new entry in this list, select the whole row, make it bold
  2. Now try copy-pasting the text from the list above using different techniques to select the text
  • Dragging cursor from top to bottom to select rows
  • Dragging cursor from top to bottom, left to right to select text and rows
  1. Each time result and preservation of style would be different (see the gif recording)
Editor version.

It is an editor located https://froala.com/wysiwyg-editor/examples/live-code-preview/ on March 9th, 2022
Latest, I assume since this is Froala website itself. Most likely version 4.0.9

OS.

Windows 10

Browser.

Google Chrome
Version 99.0.4844.51 (Official Build) (64-bit)

Recording.

froala_copy_paste_issue

@ilyaskarim
Copy link

We’re closing this issue due to inactivity. If you’re still experiencing this problem on the latest version of our editor, please feel free to reopen the issue and let us know. You can find details on the latest updates here: Froala Editor Changelog.

@ilyaskarim ilyaskarim closed this as not planned Won't fix, can't repro, duplicate, stale Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants