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

Support for basic list indentation when pasting from Word #2518

Closed
f1ames opened this issue Oct 1, 2018 · 0 comments · Fixed by ckeditor/ckeditor5-paste-from-office#94 · May be fixed by ckeditor/ckeditor5-paste-from-office#53
Assignees
Labels
package:paste-from-office support:3 An issue reported by a commercially licensed client. type:feature This issue reports a feature request (an idea for a new functionality or a missing option).

Comments

@f1ames
Copy link
Contributor

f1ames commented Oct 1, 2018

Follow up of #2482.

As support for pasting flat lists from Word is (almost) ready (see ckeditor/ckeditor5-paste-from-office#7), the next step for handling pasted lists should be correctly handling list items indentation. Since CKEditor 5 only supports rather basic indentation it might not be necessary/needed to go with all the cases (e.g. when difference between indented adjacent items is greater than one level), but basic support for indentation should be provided at some point.

There are two mechanisms which decides how list items will be indented in this case - paste from office plugin transforming pasted content and lists conversion mechanism (list plugin). The good approach for this ticket would be to make paste from office plugin transform indentation 1:1 (without simplifying/normalizing nested levels), which means providing structure which may not be fully supported by list converters. Then lists conversion will simplify the structure if needed (hopefully without any invalid/strange results).
If more complex indentation model will be needed at some point in future it will require only changes in list plugin conversions without adjusting paste-from-office as it will be already providing proper structure.


If you'd like to see this feature implemented, add 👍 to this post.

@f1ames f1ames self-assigned this Dec 17, 2018
@mlewand mlewand transferred this issue from ckeditor/ckeditor5-paste-from-office Oct 9, 2019
@mlewand mlewand added this to the nice-to-have milestone Oct 9, 2019
@mlewand mlewand added status:confirmed type:feature This issue reports a feature request (an idea for a new functionality or a missing option). package:paste-from-office labels Oct 9, 2019
@lslowikowska lslowikowska added the support:1 An issue reported by a commercially licensed client. label Mar 4, 2020
@mlewand mlewand changed the title Support for lists indentation in pasted content Support for basic list indentation when pasting from Word Mar 5, 2020
mlewand added a commit to ckeditor/ckeditor5-paste-from-office that referenced this issue Mar 5, 2020
Feature: Added support for basic list indentation when pasting from Microsoft Word. Closes ckeditor/ckeditor5#2518.

Thanks to [gjhenrique](https://github.com/gjhenrique) for the contribution!
@mlewand mlewand modified the milestones: nice-to-have, iteration 30 Mar 5, 2020
@lslowikowska lslowikowska added support:3 An issue reported by a commercially licensed client. and removed support:1 An issue reported by a commercially licensed client. labels Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:paste-from-office support:3 An issue reported by a commercially licensed client. type:feature This issue reports a feature request (an idea for a new functionality or a missing option).
Projects
None yet
3 participants