CharterMap / chartermap

GNU General Public License v3.0
0 stars 0 forks source link

tinymce implementation #4

Closed CharterMap closed 3 months ago

CharterMap commented 3 months ago

Server needs a local install of tinymce so we're not relying on the cloud version

https://github.com/tinymce/tinymce?tab=readme-ov-file

CharterMap commented 3 months ago

Doesn't necessarily need to be local, we can try using the cloud version for now.

It will need an API key, which needs to be referenced in the HTML. Is React overkill for this?

https://create-react-app.dev/docs/adding-custom-environment-variables/#referencing-environment-variables-in-the-html

CharterMap commented 3 months ago

Might use phpdotenv to store the API key (and other environment variables if necessary) https://github.com/vlucas/phpdotenv

CharterMap commented 3 months ago

Resolved in https://github.com/CharterMap/chartermap/tree/experimental by 94a6f013ca628dd3b71e33f6247a423211729714