There’s a library called Quill js that’s a web based editor, and I’d like to integrate that as a streamlit component…would the integration work something like the Ace Editor integration: Ace Editor
Here’s a codepen showing how to integrate Quill into React - https://codepen.io/alexkrolick/pen/xgyOXQ?editors=0010 - based on this, it “looks like” there should be a way to integrate these…trying to make sure I’m headed in right direction.
I’m open to any editor integrated The end goal is to recreate something like huggingface’s auto complete / recommendations in a web interface. I’m a writer - I use Scrivener on macbook pro, it gives suggestions as you type which make me write faster, but a custom trained GPT-2 based on my novels (which I have, in a juypter notebook) inside the text editor would be infinitely better than the generic, non-fine tuned model in the Huggingface web app.
From what I can get via Jupyter command line, this would save me ~10-15% in creating a first draft, potentially, so it has a lot of value to me personally.
I’ve just released a first version of a basic Quill component. However, it doesn’t support auto-completion, and I didn’t find any Quill plugin for that so far, except this quill-placeholder-autocomplete which doesn’t seem to implement exactly what we want.
Maybe it’d require to implement a brand new plugin for Quill
Or maybe with another editor it could be easier to implement, hopefully…
However in the same page, there’s a small tutorial on how to create a custom auto-complete plugin.
For now, you can try to display recommendations outside Quill’s component, even though it’s not ideal for the moment. And in the long run, except if there’s an editor with customizable auto-completion, making a CKEditor or Quill plugin could work.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.