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

pasting a list should work properly #190

Closed
bantic opened this issue Oct 23, 2015 · 0 comments · Fixed by #199
Closed

pasting a list should work properly #190

bantic opened this issue Oct 23, 2015 · 0 comments · Fixed by #199
Assignees

Comments

@bantic
Copy link
Collaborator

bantic commented Oct 23, 2015

Pasting only a list doesn't currently work (nothing happens) because postEditor#insertPost has different semantics for a post with a single section. It assumes the single section is a markupSection. It should be changed to handle different types of single-section posts.

see also #188

@bantic bantic self-assigned this Oct 27, 2015
bantic added a commit that referenced this issue Oct 28, 2015
bantic added a commit that referenced this issue Oct 28, 2015
 * handle pasting an empty post
 * Handle passing a non-markup section (list or card) to `insertPost`
 * make insertPost replace empty sections when pasting
 * Restrict tagNames to valid ones for markup section, list section, list item

fixes #196
fixes #190
bantic added a commit that referenced this issue Oct 28, 2015
 * handle pasting an empty post
 * Handle passing a non-markup section (list or card) to `insertPost`
 * make insertPost replace empty sections when pasting
 * Restrict tagNames to valid ones for markup section, list section, list item

fixes #196
fixes #190
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

Successfully merging a pull request may close this issue.

1 participant