Hello Team,
We have a requirement of having autocomplete feature in Component Dialog Fields (be it TEXTFIELD/RICH TEXT/TEXT AREA).
E.g.
There is list of 100 items like $ab, $bc,$ac ...........$nn.
Now in Rich text/Text field, when Editor Type $, it lists out all as a part of suggestions, when editor types $a, Editor able to see $ab,$ac etc.
Any leads would be really appreciated. Thanks.
Regards,
KAP
Solved! Go to Solution.
Views
Replies
Total Likes
It is some thing that we migth need to drill down. I don't have any reference links/exampls for this.
Ideally it is not recommanded to overwrite the RTE kernal editors functionality. Just suggesting you to write your own function with autocomplete function and call the function in editorkernal.js
@arvind Where are the list items saved ? $ab, $bc,$ac ...........$nn
And also you are talking about the auto complete in RTE editor right? If yes in below editorkernal location you can see the events getting triggered on typing some thing in the editor. On top of that file you can write your custom functionality
/libs/clientlibs/granite/richtext/core/js/plugins/editorkernal.js
Hi Prakash,
Thank you very much for your reply. List of Items to be fetched from external APIs.
BTW, do you have reference link/examples somewhere for similar cases that might help us?
Thanks in advance.
Regards,
KAP
It is some thing that we migth need to drill down. I don't have any reference links/exampls for this.
Ideally it is not recommanded to overwrite the RTE kernal editors functionality. Just suggesting you to write your own function with autocomplete function and call the function in editorkernal.js
Views
Likes
Replies