I've got limited knowledge about this, but hopefully some of these pointers might help..
In the V7 site you should have a plugins folder that holds the js for the custom button. These should now live in wwwroot\umbraco\lib\tinymce\plugins now and the config added in appsettings.json (it used to live in it's own config, do a search for
in your v7 solution). TinyMCE has been upgrade from 4 through to 6 in umbraco 12 i believe, so you'll need to either rewrite it (as you have in your comment above) or update the old plugin to use the new tinyMCE syntax/method calls.