-
Notifications
You must be signed in to change notification settings - Fork 13
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
Nested lists are flattened when converting from gdocs paste source #445
Comments
We'd set the level, yes, but the main point of difference is GDocs models this as a single list with nested list items, whereas Offset would model this as two separate lists, one nested inside of another. We are not doing anything in the converter to split the single list from GDocs. |
Updated the example above with the appropriate |
I think it'd also be reasonable also to follow the lead of GDocs here and set the nesting level at the item level rather than the list level. From what I can tell, we aren't looking at the list level in most (all?) renderers anyways. |
In a Google Doc, you can create a nested list like
This is represented in GDocs as a single list with 5 list items, where the outer items have attributes
ls_nest: 0
and in nested items have attributesls_nest: 1
. When converting this from the GDocs source to Offset, we drop thels_nest
attribute and just produce a list with 5 elements.What do you expect to happen?
Produce annotations like:
What happened instead?
Produced annotations like:
Environment
The text was updated successfully, but these errors were encountered: