Images in Rich Text Editor - DragQuestion
I am trying to tweak the H5P.DragQuestion library to support images in the rich text editor of Advanced Text using hook_h5p_semantics_alter().
If I add the 'img' tag to the 'tags' array, the option to embed an image is not appearing. Below is my code:
if($machine_name == 'H5P.AdvancedText') array_push($semantics->tags,'img');
Is it not permitted to add <img> to Advanced Text or am I doing something wrong?