-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Enable conditional inserts of blocks in the toolbar or implement schemas #768
Comments
I love the 4th solution, which separates the business logic and content editor. I created a Cytoscape block, get data by URI and then render it: https://taurenshaman.github.io/editor@codexteam+jsoneditor.html |
Hi,
First of all, thank you for your efforts. We like the project and if it turns out that we can work with it, hopefully we contribute to it in the future.
We have a situation where some part of the document needs to be paid for in order to read. So we have thought of several solutions for this (considering the best UX):
The second approach seemed feasible but there are some limitations towards this implementation:
so we have the exact same structure of the delimiter plugin where we do monkey-patching for this but in the end we cheat the editor which we don't really want and also we don't know of the consequences of the error we get from this:
and then on the render method:
so when we don't return an element from render function the following error pops in console:
ERROR TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.
some solutions:
Is there a refined way of doing this that I could not think of? How and what needs to be implemented to have this work?
The text was updated successfully, but these errors were encountered: