Skip to content

NKY5223/SkapEdit

Repository files navigation

SkapEdit is a wip editor for skap maps.

Note:

SkapEdit is my first React project so idk what I'm doing. I am trying to do stuff without too many libraries, but if you know some better way of doing something, do tell me!

Contribution

Translations

If you want to add/edit translations, you can do so in /src/components/translate/translation/{lang}.ts. Each entry of the record passed to makeTranslator represents a translation. It can be:

  • A string
  • A number
  • An array of any of the above
  • A function, taking in the associated "props" and a translator function, returning any of the above

See types RichText and Translator in /src/components/translate/richtext.ts and /src/components/translate/translate.ts respectively for more info.

Views

If you want to add a view, place it in /src/components/view/{name}/. You can define a view provider with makeViewProvider or makeStatelessViewProvider. A stateless view provider cannot be interacted with by other views, since all its state would be within the component itself.

About

An editor for skap maps

Resources

License

Stars

Watchers

Forks

Contributors