jET
jET
In addition, I found that setting protobuf=3.20.1 seems to work, does it not support version 4 series?
I followed the tutorial step by step. The 4 series seems to be invalid, I don't know what I missed, and it is normal to modify it to 3 series.
https://user-images.githubusercontent.com/2258120/193479358-cd9ab71a-cc71-4759-bda2-44ecd958aabf.mp4
I refer to this thread https://github.com/matthiask/django-tree-queries/issues/27 it looks worked ```python class HomeView(TemplateView): template_name = 'index.html' def get_context_data(self, **kwargs): context = super(HomeView, self).get_context_data(**kwargs) context['tree_obj'] = BzFolder.objects.with_tree_fields().annotate(Count("children")) children = defaultdict(list) for node...
Optimized! views.py ```python class HomeView(TemplateView): template_name = 'index.html' def get_context_data(self, **kwargs): context = super(HomeView, self).get_context_data(**kwargs) children = defaultdict(list) for node in BzFolder.objects.with_tree_fields(False).select_related("parent"): children[node.parent].append(node) roots1 = [self.serialize(root, children) for root in...
I expect the returned result can retain the original json hierarchy, only need to exclude entries that do not contain keywords.
Any update?
I want to use prosemirror-image-uploader in my code, I found image uploadID is null, Maybe need extends image node schema? But how to do it?
How should I place the code? or I need to modify these codes directly in the prosemirror-schema-basic library? ``` { image: { attrs: { src: {}, alt: { default: null...