I’m trying to transfer the „Enhanced Toolbar Link Dialog“ Plugin for Textarea-Fields to the Writer-Field. My index.js of the panel plugin looks like this right now:
I checked the components name, but its not getting replaced. If I use “k-form-dialog” instead of ‘k-writer-link-dialog’ as the component to replace, it works. But then i.e. the Add Page Dialog gets replaced as well. What am I doing wrong?
As far as I can see, the writer field uses the k-link-dialog component (and inside that the k-form-dialog) I somehow doubt that you can simply extend the EnhancedToolbarLinkDialog
Thanks for the quick reply and the hint with the component name. Unfortunately its also not working with k-link-dialog. I already altered the EnhancedToolbarLinkDialog Plugin so that it works as replacement for k-form-dialog. This works, but other dialogs then get replaced as well.
Hi. Yes, see my last reply. The replacing component needed some work too. Mainly in retrieving and emitting values. Works for me, but I’m not sure if its the right way. I can share this as soon as I’ll have time for it.
I’ve got a working prototype right now but it will surely take another couple of days [more likely weeks ]) to finalize the new Version. The reason is that I want to try another integration approach and simplify the overall user experience.