79773948

Date: 2025-09-24 16:04:02
Score: 1
Natty:
Report link

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.

Reasons:
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Daniel Carter