Extend an extension to add a fully functional angular component. #46
-
I want to extend TaskList extension and add an icon at the rightmost corner of the list. On clicking that icon, an overlay should open. I have been successfully able to add the component as a separate extension with all functionalities. Putting it inside an existing extension is proving to be challenging. Please help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
hi, @C0DE-RUNNER . Can you share your progress on a Stackblitz if possible and do you have some mock screenshot of what you are trying to do so I can help better? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Please check the https://stackblitz.com/edit/ngx-tiptap-mentions-e88hsh. I have updated to get the desired outcome(sort of). It works, but you will still need to get the part of uniquely identifying the node correctly and updating/destroying them correctly. I've just used position for now as an identifier, but its not reliable. Or you can use that, but smartly update the properties/inputs provided to the component.
You can refer AngularRenderer for the list of available methods