How to rotate added images?

I have added png images by following the article, but can not find any api for image rotation. Is any way to do it?

If not, whether I can select the added images by id, then I can rotate it with css. But after inspected the generated I realized it has not been assigned any id. How can I assign an id to it?

Thanks a lot!

We don’t expose a way to do that at the moment unfortunately.

We don’t punched ids into the images’ DOM elements, but something like

.imagelayer:nth-child(n) {

should work.