Hi everyone, I am developing an extension so that when users finish their comments, they can click that 'Analyse' button before they click the 'Post'. I have trained a machine learning model written in python, so I hope click 'Analyse' button can somehow run that model in backend. But basically I have no idea how the composer get files connected with each other.
I tried to mimic an extension flagrow/upload, which can add a button in the TextEditor's footer. But then I cannot find how things going on... Seems there are only classes tags but cannot find the .js files... So could anyone help me how to understand the logic in adding a button to achieve my goal? Thanks!