When all providers for a certain action are disabled, or if providers
are enabled but all individual actions of a type are disabled, then
a warning is shown on the placement admin settings page for actions
that have no providers available.
Also the text editor placement will not show the option to generate
images or text if there are no actions available.
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>