GitbookIO/slate-edit-list

A schema rule could not be validated after sufficient iterations

Closed this issue · 2 comments

normalize.js:213 Uncaught Error: A schema rule could not be validated after sufficient iterations. This is usually due to a 'rule.validate' or 'rule.normalize' function of a schema being incorrectly written, causing an infinite loop.

I have tried this plugin with no other plugins (except for one that makes Ctrl+O set a the block type to ol_list) and it still gives me this error. I can insert list blocks when I disable this plugin, but not with it on.

Any ideas?

Running the latest version of Slate.

Could you provide an example to reproduce the bug? A Slate document, and the code for initializing the plugin and inserting a list?

I have made a fix for the schema rules. It might have solved your problem.