An open API service indexing awesome lists of open source software.

https://github.com/hygraph/uix-tinymce

Example GraphCMS UI extension integrating the TinyMCE rich text editor
https://github.com/hygraph/uix-tinymce

Last synced: about 1 year ago
JSON representation

Example GraphCMS UI extension integrating the TinyMCE rich text editor

Awesome Lists containing this project

README

          

# TinyMCE as a GraphCMS UI extension

⚠️ UI Extensions are still in early alpha and need to be activated on your GraphCMS project beforehand

This is a simple demo showcasing how to use a self-hosted TinyMCE as a UI Extension in GraphCMS.

## Deploy on Vercel

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FGraphCMS%2Fuix-tinymce)

When deployment is finished, do the following steps:

1. Click on **Go to Dashboard**
2. Right-click on **Visit** button, then Copy Link Address
3. Go to GraphCMS Project dashboard
4. Navigate to **Settings > UI Extensions**
5. Click on **Add UI Extension** button
6. Paste URL you've copied on step 2 into Extension URL field, then click on **Run compatibility test** button
7. (Optional) Check UI Extension Settings and update them accordingly
8. Finally, click on **Authorize & Install** button

Now that you've installed TinyMCE UI Extension, you're able to add it to any model on your schema.

## Usage

On GraphCMS dashboard, go to Schema and click on the model you want to add TinyMCE Editor.

It's available on Add Fields sidebar, under String fields. Just click on it to add it to your schema.