Draft – Add Tailwind CSS to WordPress

Descrição

Easily add stateful, responsive Tailwind CSS utility classes to Gutenberg blocks in the block editor.

Free plugin functionality:

  • Configure Tailwind
  • Add Custom CSS ( including ability to @apply Tailwind CSS utility classes )

Pro plugin functionality:

  • Purge Unused CSS
  • Block-Editor Power-ups:
  • Dark Mode Toggle
  • GDPR Compliant Google Fonts (Bunny Fonts)
  • Group Block Link
  • Archive Title Filter
  • Meta Description Tag
  • Gallery Carousel
    Go Pro

Free full-site-editing (FSE) block theme:

Learn more

Free ready-to-use copy & paste block patterns:

Explore patterns

Free ready-to-use copy & paste block templates:

Explore templates

Free Video Tutorials

Learn how to speed up your development by adding Tailwind CSS utility classes to Gutenberg blocks:
Tutorials

Copyright

Draft Pro WordPress Plugin, Copyright 2021 leeshadle
Draft Pro WordPress Plugin is distributed under the terms of the GNU GPL

Ecrãs

  • Couple the free Draft plugin with our free block theme, free block patterns and free block templates to build WordPress websites fast with Tailwind CSS.
  • The free Draft plugin adds Tailwind CSS to WordPress. Configure Tailwind CSS, @apply Tailwind CSS utility classes, and add Tailwind CSS utility classes to blocks.
  • The free Draft theme is SUPER light weight (5kb) and is built for Tailwind CSS.
  • Copy & Paste all our free block patterns on our website.
  • Copy & Paste all our free block templates on our website.
  • Configure Tailwind CSS without leaving WordPress.
  • Add custom CSS and @apply Tailwind CSS utility classes to your site without leaving WordPress.

Instalação

This section describes how to install the plugin and get it working.

e.g.

  1. Upload the draft plugin files to the /wp-content/plugins/ directory, or upload the draft.zip file through the WordPress plugins screen directly by clicking ‘Add New’ and selecting the zip file from your computer.
  2. Install and active the Gutenberg WordPress plugin.
  3. Activate the Draft plugin through the ‘Plugins’ screen in WordPress.
  4. Use the Draft plugin on your pages and posts.

Perguntas frequentes

Will TailwindCSS utility classes conflict with other plugins?

If they’re using the same utility classes it may override them. You can always configure the Tailwind CSS to use a prefix if you need a different namespace.

What themes is the Draft plugin compatible with?

Any theme built for the Gutenberg editor.

Avaliações

22 Outubro, 2021
Hi Lee, Really enjoyed your demo on the Page Builder Summit yesterday. While I am not a Tailwind CSS user, more a Divi user, I totally agree with the way you have implemented your system from a minimalist point of view, where only the existing blocks in core are extended or, as you have done, reduced to be manipulated with the Tailwind CSS only. So far I have some niggles with the Gutenberg project which I see as fundamental design flaws in the long run; the fact that they didn’t nail the main layout and structural elements (Sections/containers, rows and columns + better responsiveness on device breakpoints ) and make these, along with all the other blocks, a restricted set which third parties could extend, via an API, with their own UI, bells and whistles. So far I see many vendors out there making their own implementations of block sets where they are reinventing the wheel. Seems to me that they are perpetuating the age old problem where, if you disable any one of these solutions you potentially lose content, layout or both, whereas, if WordPress had a core foundation of set blocks, turning off or switching to another solution would retain content and maintain layout to some degree. Having this systematic approach would have had more buy-in from page builder vendors and subsequently a better overall direction in the development of the Gutenberg project. It would have also driven better consistency and interoperability between builders. What you have done makes the whole enterprise of using the block editor "Safer" and in this context third party vendors should only be allowed to override existing blocks in core by plugging in their own UI and features.
Ler 1 avaliação

Contribuidores e programadores

“Draft – Add Tailwind CSS to WordPress” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Registo de alterações

2.0.0

  • Complete Plugin rebuild
  • Completely customize your Tailwind CSS configuration as you would outside of WordPress
  • Add Custom CSS and leverage Tailwind directives such as @apply, @layer, etc.
  • Updated Default Tailwind CSS configuration for building block patterns, pages, and websites

1.0.1

  • Updating Plugin Settings – Removing core ColorPalette component from TailwindCSS Color configuration settings. New ColorPalette component was breaking the editor. Will work on finding an alternative.

1.0.0

  • Release