Thank you for reaching out with your suggestion. I completely understand the need for a setCaretPosition feature. I’m glad you brought this to our attention.
I’m happy to inform you that we will work on adding this action. It’s important to us to provide features that best suit our users’ needs, and this seems like a valuable addition.
Moreover, I’d like to mention that we’ve recently launched a powerful animation plugin called “Kawaii”. This plugin offers a range of options to create jaw-dropping animations, including text animation with multiple settings. While I haven’t tried integrating “Kawaii” with the Quill Editor specifically, it’s on our radar to explore this. Our aim is to provide a smooth and easily implementable method for such integrations.
If you’re interested in giving “Kawaii” a spin, I’d be delighted to offer you a lifetime subscription at no cost. It’s our way of appreciating the feedback and trust you’ve placed in us.
Let us know how you’d like to proceed, and thank you once again for your valuable input.
I have an update for you regarding the setCaretPosition functionality. There’s no need to wait, as our latest plugin update (v 1.60) allows you to do this. By using the ‘set selection’ action with a length of zero, you can move the caret without selecting text, effectively mimicking a caret positioning feature.
For a test run of Kawaii, please send your app ID in a direct message, and we’ll get you set up with your complimentary lifetime access.
We’ll working on Kawaii and Quill integration to build a typewriter animation with easy implementation.
Lastly, if you’ve found our plugin useful, we’d really appreciate it if you could leave a review. Your feedback not only supports us but also helps others in making informed decisions.
Introducing Bubble Styles Integration Feature on Quill
Hey Bubblers!
Exciting news! Based on the cool suggestion from @mrkoyen, we’ve added a nifty feature to our Quill plugin. Now, you can jazz up your text by applying Bubble styles directly in the Quill editor. It’s all about making your text look good with minimal fuss.
How it works:
Just pop in the style names (like p, h1, h2), separated by commas, and watch the magic happen! The plugin will smartly apply these styles to your text.
It’s as easy as pie!
Good to know:
Just a heads up, if there’s a clash between Quill and Bubble styles, Quill’s got your back and keeps its style on point.
We hope this feature makes your text-editing journey smoother and fun. A massive thank you to @mrkoyen for this fab idea!
We’re all ears for more suggestions. Feel free to play around with this new feature and let us know your thoughts right here.
But sometimes it doesn’t get the values so when I push the getText value to an OpenAI workflow
what it sees is either a blank value or an outdated value from the previous getText
Probably the problem occurs when the content is less than 1000 characters.
You can set a condition that set 0 as start index and Editor Text’s Length as the Length, when the content is less than 1000 characters.
Hi, I made a sample according to your purpose and posted the link.
Pay attention, in order to make sure that the prompt is sent after receiving the text, I put them in separate custom events that are executed in order after the click.
I studied and applied the sample you made
I think it is a more better implementation and I saw some improvements
However, the major error still persist.
I hope you can help again I am stuck here for 2 days
I sent you a DM please
I used the quilleditor Editor text changed
so everytime the text changes it will get the 1000 characters backwards behind the caret position
But I can imagine that this will absolutely increase WU usage and slow my app
I tried to put getting the 1000 characters backward in the workflow (just like what you also did on your sample)
However, this does not work for some reason due to some delay on getting the values.
Can we change the QuillEditor Editor Text Changed to run only AFTER I finished typing?
so that this does not run everytime I type on the editor? This will slow the app 100%
or
Is there a way to add a standalone action that will just automatically get the values backwards at caret position real-time as I type on the editor? Then I will just use truncate to end (1000).
Thank you!
If this event will be triggered only when I stop writing is live then it will END my suffering
I am eagerly waiting for this
May I know the ETA
Good news! I’ve just updated the Quill plugin to enhance its performance. Now, the event you’re referring to will only be triggered when there’s a pause in writing, rather than with every change in the text. This should effectively resolve the issue you were experiencing.
Please note that the editor will continue to update information in real time, ensuring you don’t miss a beat. To take advantage of these improvements, simply refresh your editor and then update the plugin to version 5.5.0.
Your feedback is invaluable to us, and if you find the time, we would appreciate it if you could leave a review for the plugin. Your review will not only help us but also assist other users seeking similar solutions.
Thank you for your patience and for using our plugin!
I checked the app and the workflows, actually the problem is the caret index, which has no value after the process is finished, because the editor is not in focus mode.
The animation plugin does not trigger any event after its completion so that we can use it and focus the editor. (Unfortunately, the focus that the animation plugin activates is not recognized by the editor)
You can use an alternative method than Caret Index to receive the text after getting the AI’s answer.
If you can’t find another way, let me know and explain a little more about why and how to use the get text value, so maybe I can help.
Regarding the delay, I added a new field for that so you can customize it according to your purposes, it will be available on the next update. Currently, it is 750 millisecond.
I am trying to find altnernative but couldn’t find another way
The way I use the get text value is that: basically, the get text value gets 1000 character before the caret position
**this 1000 character value is sent to the AI for processing and the AI response would be sent to the typewriter animation
However, I found a possible solution.
I noticed that while the caret index becomes 0 after an AI response, BUT, the selection start index gets updated just fine after AI response.
So, I was thinking if you can add “set Caret position” feature
so that after the quill editor text change event I can set the CARET position to the selection start index value.
This way the caret position will not be ZERO/EMPTY and it will be the same value with the selection start index.
You can use the Set Selection action with zero length to set the position of the Caret.
In fact, the user who asked us for the Caret Index feature needed the index to be updated quickly, so the select value remains the same as the previous value, but the Caret Index is quickly emptied.
Given your need, why would it matter to you to have that text immediately after the AI response was written?
If the user is going to send a request again, he/she will write again and, in that case, the required text will be created for you.
In fact, this prevents the response from being sent back as a request to the AI.
In this kind of scenario, usually, the user will just click write more or CTRL-Enter AGAIN to call for an AI request without clicking, writing in the Editor to complete the text.
But with whats happening right now the get text has no value then the AI response would be just mumbo jumbo because it has no context. Hence, the issue.
Hope it make sense.
If you can give more advice, I would be more than happy!
Have you figured out why this is happening? It could be because of the token limit you set.
But honestly, I think you don’t have to send the whole new text. You can keep the user’s last prompt in a state, and resend it if this happens.
Sending a partial answer might give a wrong answer.
You can also remove the previous answer, so it doesn’t confuse anyone and ruin the user experience.
The Quill has a cool feature that might be helpful, which is to show changes. It’s a bit tricky to use because it has its own format, but it might work for your situation.