Create custom style dropdowns on Quill

I’m putting this one up quickly so the info is out there. If you come across this and need more info, just comment on the post. Set up the editor:

Inject the styles:

 

Launching renderer functions from the main menu in Electron-Vue

Creating menus is simple enough in Electron, but how in the world do you tell your Renderer process to do something?! I couldn’t find any existing resources on this so hopefully this helps you. In your menu/index.js  set up your menu:

In your  renderer/main.js  add a listening function:

Tada! You can now successfully run […]

How to export from Scrivener to Word with correct styles

This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold and italics. It is based off the excellent work by Félix Chénier. When I tried his method, it correctly fixed all the heading styles, but it did not update the body text to be ‘Normal’ style. […]

How to see visitor’s real IP with Cloudways and Cloudflare

If you’re using Cloudflare in front of your Cloudways site, you’ll notice that all the visitors come through with the IP address of 127.0.0.1. It’s easy enough to fix this. Cloudways posted a useful article about it, but it misses one critical thing – the WordPress configuration! First, head to your server configuration on Cloudways, […]

Good password security

Good password security isn’t too hard, it just requires a change in your approach. The biggest factor to increasing password security is password length. To see this in action, visit this link – https://www.grc.com/haystack.htm – and type in one of your passwords as a test. Look at the last two Attack Scenarios. That’s how quickly it would […]

Cart doesn’t work with Flatsome, WooCommerce, and Varnish

This is a quick and easy one. If you’re using the Flatsome3 theme with WordPress and you have Varnish cache running, you’ll find the cart doesn’t work. You add an item, and the sidebar pops up but then it disappears again straight away, and the cart is empty. Turn off Varnish and problem solved… but […]