Problem 1
Plugin window was behind the Divi Builder window
Solution
Open and edit crayon.min.css in FileZilla
STEPS
- Connect to Server sftp://root@192.168.240.70/var/www/vhosts/hosty.uk/httpdocs/wp-content/plugins/crayon-syntax-highlighter/css/min/crayon.min.css
- Change z-index:99999 value in crayon.min.css to something higher than 9999.
Problem 2
When I open plugin window, then close it (doesn’t matter if I click save nor cancel) and when I try to open it again it won’t open.
Solution
Open and edit crayon_tag_editor.js in FileZilla
STEPS
- Connect to Server sftp://root@192.168.240.70/var/www/vhosts/hosty.uk/httpdocs/wp-content/plugins/crayon-syntax-highlighter/util/tag-editor/crayon_tag_editor.js
- Change /util/tag-editor/crayon_tag_editor.js, in base.showDialog
1 2 3 4 5 6 |
if (!wasLoaded) { // Forcefully load the colorbox. Otherwise it populates the content after opening the window and // never renders. $.colorbox(colorboxSettings); } base._showDialog(args); |
to:
1 2 |
$.colorbox(colorboxSettings); base._showDialog(args); |