Rich Text - Performance Issue #11335
Unanswered
KevinFiorentino
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am creating a simple collection of Articles with a
richText
field. I like Lexical Editor, it is powerful to write content. But, by default it has a critical performance issue.When I am trying to relate two articles through LinkFeature:
There is an interesting UI to related them quickly, but I discovered that it asks for too much information.
Screencast.from.21-02-25.13.07.37.webm
When I open the select, four request are send to the backend:
If I would have 100 articles (it will happen in production), all of them would be requested, I guess. Also, all articles have the full "richText" field, making the request potentially very heavy. And I would like to not receive the users in this select, I do not need them.
I've tried to override LinkFeature to ignore users by creating a new feature on lexical editor.
I achieved to hide users with
{ hidden: true }
in the collection, but that hide it completely on the admin panel. Also, I analyzed #6547 but I could not find a possible solution.Is there a way to crear a LinkFeature more performant in these aspects? I think they are critical, I cannot use it like that.
Thanks in advance.
UPDATED: I just found the property
{ enableRichTextLink: false }
to hide users inrichText
fields =)Beta Was this translation helpful? Give feedback.
All reactions