> For the complete documentation index, see [llms.txt](https://lewe.gitbook.io/lewe-chordpress/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lewe.gitbook.io/lewe-chordpress/editor-integration.md).

# Editor Integration

The plugin adds a menu button to the default TinyMCE editor that allows a convenient way to add the `[chordpress]` or `[chordpress-chord]` shortcode.

<figure><img src="/files/lbEdCw8mDA8yMX7K1XY8" alt=""><figcaption></figcaption></figure>

## Empty Tag

You can use it anywhere in your editor to add a shortcut with the default parameters. Paste your ChordPro code in between the tags after that:

<figure><img src="/files/7Lk7Vkkb3yIBq1sGEwc7" alt=""><figcaption></figcaption></figure>

## Selection Tag

You can also select your ChordPro text first and then click the menu entry. Your selected text will then automatically put inside the tags:

<figure><img src="/files/ygMXCOaAMTVzXwF5rTjY" alt=""><figcaption></figcaption></figure>

Result:

<figure><img src="/files/nvqR4WtEdelZxXPECSPB" alt=""><figcaption></figcaption></figure>
