# Word Switch - Add word switching functionality in Gutenberg

## Description

A lightweight WordPress plugin that adds word-switching functionality to Gutenberg’s Paragraph and Heading blocks, allowing users to dynamically replace or rotate selected words for more engaging and flexible content presentation.

## Installation

1. Download or install the plugin.

2. Activate the plugin in your WordPress admin panel

## How to use?

A lightweight WordPress plugin that adds word-switching functionality to Gutenberg editor's
Paragraph and Heading blocks, allowing users to dynamically replace or rotate
selected words for more engaging and flexible content presentation.

With this plugin, WordPress gutenberg editor’s paragraph and heading block get an extra format named ‘word switch’.

[![Word Switch plugin WordPress](https://img.youtube.com/vi/6sqoOOXi7kQ/0.jpg)(https://www.youtube.com/watch?v=6sqoOOXi7kQ)]

Currently, the comma ( , ) is the only supported separator. Support for custom and flexible separator characters is under development and will be available soon.

## Development

1. Clone this repository into your WordPress plugins directory:

   ```bash
   cd wp-content/plugins
   git clone [repository-url] word-switch
   ```

2. Install dependencies:

   ```bash
   cd word-switch
   npm install
   ```

3. Build the plugin:
   ```bash
   npm run build
   ```

## Changelog

== 1.1.1 ==

- Video instruction added
  == 1.1.0 ==
- Multiple seperate word switching feature
  == 1.0.2 ==
- Change prefix WS to WORD_SWITCH
- Made zip for wordpress.org
  == 1.0.1 ==
- Change prefix WS to WORD_SWITCH
- Made zip for wordpress.org
  == 1.0.0 ==
- Add word switching functionality in Gutenberg
