https://github.com/sbdchd/react-mustache-editor
Basic editor for editing mustache templates in a more user friendly way
https://github.com/sbdchd/react-mustache-editor
Last synced: 3 months ago
JSON representation
Basic editor for editing mustache templates in a more user friendly way
- Host: GitHub
- URL: https://github.com/sbdchd/react-mustache-editor
- Owner: sbdchd
- Created: 2020-04-28T02:07:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T03:01:54.000Z (over 2 years ago)
- Last Synced: 2025-06-15T20:37:54.055Z (7 months ago)
- Language: JavaScript
- Size: 634 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-mustache-editor
An attempt at making a basic editor for inserting [mustache
templates](https://en.wikipedia.org/wiki/Mustache_%28template_system%29) and
rendering them with a custom element.
So far have tried [SlateJS](https://www.slatejs.org/examples/richtext) which
has a couple troubling bugs.
[DraftJS](https://draftjs.org) has problems around emoji.
Next thing to try:
- https://discuss.prosemirror.net/t/using-with-react/904
- https://discuss.prosemirror.net/t/lightweight-react-integration-example/2680
- maybe this but probably not: https://github.com/johnkueh/prosemirror-react-nodeviews
- used in slack's message editor
- maybe this, probably see if Slack's using some OSS component or not first
https://github.com/zenoamaro/react-quill
- slack's component seems to be uncontrolled, it has an initialText value
and a onChange but no obvious value prop.
https://app.dropkiq.com/demo
- closed source but does something similar
## dev
```shell
yarn install
yarn start
```