Hi !
I want add a delete button here:
Should I modify the '_addToTree' method of ui.ContentTree.js ???
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
@Jniza Overlay below file to add delete button
/libs/cq/gui/components/authoring/editors/clientlibs/core/js/ui/ui.ContentTree.js
As it is a custom change project specific change we have been looking for. Please change below lines and try:
line number 178 to add delete button
Change line number 322 to add delete event
Views
Replies
Total Likes
There are several ways to achieve this
- Create custom clientlib to target the editor
- Overlay the ContentTree.js as you mentioned.
@Jniza Overlay below file to add delete button
/libs/cq/gui/components/authoring/editors/clientlibs/core/js/ui/ui.ContentTree.js
As it is a custom change project specific change we have been looking for. Please change below lines and try:
line number 178 to add delete button
Change line number 322 to add delete event
Views
Replies
Total Likes
Views
Likes
Replies