This repository is a fork of tinymce/tinymce-contentful. We created this separate repository to ensure that the extension remains accessible and does not unexpectedly disappear from the internet.
The extension is deployed to Netlify: https://tinymce-emcap.netlify.app.
-
Extension URL: The
src
field in theextension.json
file points to the new deployment URL:{ "src": "https://tinymce-emcap.netlify.app/" }
-
Syncing the Fork: When syncing this fork to update the extension, ensure that the
src
field inextension.json
is not overwritten. -
API Key: When setting up the extension in Contentful, use the API key generated by TinyMCE.
-
Approved Domains: Add the new URL (
https://tinymce-emcap.netlify.app
) to the list of Approved Domains in the TinyMCE Customer Portal.
By following these steps, you can ensure the extension remains functional and accessible.
This repository contains the integration of the TinyMCE rich text editor into the Contentful headless CMS.
Please see this blog post for an introduction to TinyMCE for Contentful.
This is packaged as Contentful UI Extension. The extension.json
file defines
the extension and points it to an external web server to serve the extension's files.
In Tiny's case, the files in src/
are deployed to:
- https://contentful.tiny.cloud/ (production)
- https://contentful-staging.tiny.cloud/ (staging)
Note that this extension only works when installed using the "src" method,
not the "srcdoc" method. As such, if you wish to fork this extension, you
will need to host the files in the src/
folder on a web server and update
your extension.json
file to point to it.
To deploy experimental changes to the extension.json
file, you can use
the contentful CLI:
contentful extension update --version=X
Where X is the previous version of the extension installed. This only affects your own Contentful instance.
To make changes to the files in src/
, re-deploy them to the appropriate web server.
Note that you will need to change the extension settings in the Contentful UI to set your API Key, and to change between the live and staging URLs.
Note that whenever you contentful extension update
it will forget your settings,
so you'll have to put in your API key and staging URL again.
To install the extension into Contentful, add an extension using the "Install from Github" option, and enter the following URL:
https://github.com/tinymce/tinymce-contentful/blob/master/extension.json