When an image is generated using AI a watermark is added.
This patch examines the area of the image where the water
mark is to be added and changes the font color of the mark
to either black or white, so it can be read against the
background color.
To make the plugin name a bit more generic, we renamed as below
- Shortname: `aiplacement_tinymce` -> `aiplacement_editor`
- Fullname: `TinyMCE Editor Placement` -> HTML Text Editor Placement
Initial AI placement plugin for the TinyMCE editor.
It includes a TinyMCE plugin and the AI placement plugin.
It supports both text and image generation.
Originally implemented in MDL-80891
Co-authored-by: Huong Nguyen <huongnv13@gmail.com>