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

List element content can be lost when gets pasted into CK Editor #8684

Closed
LangQian opened this issue Dec 15, 2020 · 5 comments
Closed

List element content can be lost when gets pasted into CK Editor #8684

LangQian opened this issue Dec 15, 2020 · 5 comments
Labels
package:list resolution:expired This issue was closed due to lack of feedback. squad:core Issue to be handled by the Core team. type:bug This issue reports a buggy (incorrect) behavior.

Comments

@LangQian
Copy link

📝 Provide detailed reproduction steps (if any)

  1. Copy the following content and paste it here:
  • aaa
  • bbb
  • ccc
    • ddd
    [Content that will be removed by CK Editor]
  • eee

✔️ Expected result

The above content successfully gets loaded into CK Editor.

❌ Actual result

The part "[Content that will be removed by CK Editor]" will be removed.


If you'd like to see this fixed sooner, add a 👍 reaction to this post.

@LangQian LangQian added the type:bug This issue reports a buggy (incorrect) behavior. label Dec 15, 2020
@FilipTokarski
Copy link
Member

Hi, thanks for the report and sorry for the late reply. I can confirm this issue.

@FilipTokarski FilipTokarski added package:list squad:core Issue to be handled by the Core team. labels Jan 8, 2021
@mlewand mlewand added this to the nice-to-have milestone Mar 1, 2021
@pomek pomek removed this from the nice-to-have milestone Feb 21, 2022
@KostiantynO
Copy link

KostiantynO commented Jul 12, 2023

Hello, I got a problem with pasting the lists into ckeditor.

When pasting nested lists into Source on demo page -> ckeditor produces garbage html: instead of list in list, child list becomes div?
Please help me to know, how to resolve this issue?

image

Code for reproduce -> paste html below into Source editing mode.
<ul class="nujFR WIvKn">
  <li data-qaid="attributes" class="YSmsd">
    <ul class="nujFR SE5ox">
      <li class="YSmsd">
        <div class="MafxA IIzXA">
          <span class="_3Trjq ffgjE htldP">Країна виробник</span>
          <span class="_3Trjq htldP">Китай</span>
        </div>
      </li>

      <li class="YSmsd">
        <div class="MafxA IIzXA">
          <span class="_3Trjq ffgjE htldP">Матеріал стебла</span>
          <span class="_3Trjq htldP">Пластик</span>
        </div>
      </li>

      <li class="YSmsd">
        <div class="MafxA IIzXA">
          <span class="_3Trjq ffgjE htldP">Матеріал листя</span>
          <span class="_3Trjq htldP">Латекс</span>
        </div>
      </li>
    </ul>
  </li>
</ul>

@Witoso
Copy link
Member

Witoso commented Jul 13, 2023

@KostiantynO the demo you're using doesn't have a list implementation that supports blocks. Check the behavior in the full-featured editor.  In the future, please create a separate issue for your problem.

@CKEditorBot
Copy link
Collaborator

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

@CKEditorBot
Copy link
Collaborator

We've closed your issue due to inactivity. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).

@CKEditorBot CKEditorBot added resolution:expired This issue was closed due to lack of feedback. and removed status:stale labels Aug 14, 2024
@CKEditorBot CKEditorBot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:list resolution:expired This issue was closed due to lack of feedback. squad:core Issue to be handled by the Core team. type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

No branches or pull requests

7 participants