← All posts

Plain Classes Gutenberg 1.4: WPCodeBox support and a dockable assistant

Plain Classes Gutenberg 1.4: WPCodeBox support and a dockable assistant

Plain Classes Gutenberg 1.4.0 brings WPCodeBox support and a frontend assistant that stays out of your way in page builders.

WPCodeBox snippets

If you keep your CSS in WPCodeBox, Plain Classes now reads your enabled CSS, SCSS and LESS snippets straight from WPCodeBox. Save a snippet (the Save button or Ctrl+S / Cmd+S) and its classes are ready in the block editor right away, the same way Scripts Organizer works. It works with or without the WPCodeBox functionality plugin.

On the Scan Classes page you'll find a new Include WPCodeBox snippets option, on by default. With no files selected, you can scan only your snippets.

File Scanning docs →

CSS inside PHP files

Scan Classes can now read CSS inside PHP files: <style> blocks and wp_add_inline_style() strings. The file picker only lists PHP files that actually contain CSS.

Frontend assistant

  • A new Dock button moves the assistant to the left or right corner, and it remembers your choice.
  • It is now hidden inside the Bricks and Oxygen editors by default. Two new settings, Hide Assistant in Bricks editor and Hide Assistant in Oxygen editor, let you turn that off.
  • It uses WordPress icons, and its settings menu opens upward so it's no longer cut off.

Frontend Assistant docs →

Smaller improvements

  • Assistant options in Settings appear only when the assistant is enabled.
  • The Settings page confirms when your changes are saved.

Update

Go to Dashboard → Updates, or download 1.4.0 from your account.

Plain Classes Gutenberg →