Developers

Technical forum about Content Type or System Plugin development.
Here you can apply for developer access.

Changing Rotation angle in Edit image (editor-image-popup)

Forums: 

Is it possible to change rotation angle when using rotation button in the tool Popup Edit Image used in different Editors (Image pairing, Image sequencing, Drag and Drop, Course Presentation...). I have some rounded shape png images and I want the editor user can change by rotation of 45° this image without having to load a new image.
I have seen that event click on this button call a function() {  this.rotate(90)}, but i don't know where i can change code to have function() {  this.rotate(45)}.

 

 

H5P in Drupal: I need to temporarily stop displaying a custom content type.

Forums: 

Hi,

A custom content type, which nothing depends on, is causing issues in mobile. Some Chrome change has broken some JS I wrote.
I don't want to loop through all content and manually remove it by decoding and reencoding the json as I want to use it again when I fix the issue. 

Which file would I need to look at to do this? I'm hoping I can add an if statement somewhere to skip outputting it.

Thanks,
Niall

Pages