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

allow creation of paragraph in body above/below table #2

Closed
wants to merge 2 commits into from

Conversation

johanneswilm
Copy link

@johanneswilm johanneswilm commented Oct 7, 2017

This allows using allowGapCursor = false on nodes higher up to prevent the gap cursor to be placed in them. Also, when inserting inline nodes into blocks that are not Textblock nodes, it doesn't try to directly insert the nodes, but wraps them inside a textblocknode type defined with defaultTextBlock = true in the schema.

This should not be merged directly, as I was missing a lot of knowledge about other situations in which gapcursor is to be used, so I don't know if it is breaking anything for others. Also, it seems like there already is a way to determine which textblock node is the default one, or how content should be wrapped that is being used in other places. At any rate, I hope this serves to show what kinds of additions we would need for our particular usecase.

@marijnh
Copy link
Member

marijnh commented Oct 13, 2017

I hope patch c6824e5 address this.

@marijnh marijnh closed this Oct 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants