TinyMCE image tools don’t support adding custom attributes like "data-imagebox" directly through settings. To add such attributes, you need to use a small script that runs after an image is inserted. This script finds the inserted image and adds the custom attribute automatically. So, the best solution is to handle it with a script that modifies the image tag after insertion, since there’s no built-in way to add extra attributes via configuration.