-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix pasting freeform content #2039
Conversation
7e39c2f
to
91a9da5
Compare
Hm, not sure what's going wrong again here... |
Introduced in #1394, which changed the type of the block attribute. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lint errors caused by unused variables nodeListToReact
and createElement
, but I can confirm this fixes #2008. One other item I notice is that it might be nice to trim the pasted content. Copying from lipsum.com into a new post, for example, causes 2 empty paragraphs to linger. Also one stuck with placeholder event when not selected:
Should be okay to merge with lint issues addressed.
Huh. I think I dreamed the tests passed on my side. |
Sounds like something good to do in a separate PR. :) |
91a9da5
to
259f1a8
Compare
Add support to Categories as part of the API fetch methods
Fixes #2008.