You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2085e22688
Depending on the browser in different situations the root node itself is selected and new text ends up in a text node on root level instead of a new paragraph. This happens in: * Firefox: after inserting a closed block like a horizontal rule * Chromium: after inserting or selecting such a closed block Now instead of inserting a paragraph directly after inserting an HR, the editor simply checks for normal text input inside the root node and wraps the newly written text with a paragraph (and moves the caret to the end of the paragraph because chromium moves it to the beginning of the line) |
5 years ago | |
---|---|---|
docs | 5 years ago | |
public | 5 years ago | |
src | 5 years ago | |
.editorconfig | 5 years ago | |
.gitignore | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
babel.config.js | 5 years ago | |
package.json | 5 years ago | |
tsconfig.json | 5 years ago | |
yarn.lock | 5 years ago |
README.md
rpg-cards-ng
New and shiny replacement for the slightly outdated and clunky RPC Cards Generator. Not yet usable.
Project goals and if they are already implemented
Roughly in order of planned implementation.
- comfortable, mobile optimized interface
- handle decks of cards in a wysiwyg way
- save decks in your browser
- edit cards in a wysiwyg way
- print view (obviously)
- load graphics directly from game-icons.net
- create and store cross-deck sets of cards
- allow graphics upload
- custom graphic sets
Nice to have
Things I'd love to see but I'm not focussing on right now:
- different card layouts / theming
- allow icons to be stored locally (in browser)
- offline mode
- PDF export
Project development
yarn install
yarn run serve # Compiles and hot-reloads for development
yarn run build # Compiles and minifies for production
yarn run test # Run tests
yarn run lint # Lints and fixes files
Attributions
- Icons are from Zondicons.
- Graphics are from Game-Icons.net if not attributed differently.