How can I add the button annotate from asset.html to editor.html page?
I think everything cannot be in a single place right?
different consoles are provided by the Adobe in AEM. so you can go there and perform the action. It should be Author responsibility to go in a particular console and perform the action.
if you want to implement something new in an existing console then I think you can with the overlay n do the customisation.
I am trying to use the idea of commenting from a button in editor.html, rather than the Timeline. Thus, I tried to overlay annotate button from asset.
Yes, as Scott suggested you should not add it anywhere so that your instance gets corrupted.
Could you please tell your complete usecase so it will be better understood for everyone.
We do not have any use case or docs that describe how to overwrite the editor.html page in this manner.
I have added the annotate button, and on the click function, I want the comment functionality.
Could you please confirm where you want to add button in editor.html?
it would be great if you post a screenshot.