Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags: Auto-suggestion/complete #255

Open
mkoskim opened this issue Oct 14, 2024 · 0 comments
Open

Tags: Auto-suggestion/complete #255

mkoskim opened this issue Oct 14, 2024 · 0 comments

Comments

@mkoskim
Copy link
Owner

mkoskim commented Oct 14, 2024

Few things to do:

  1. First, use the same mechanism used for word counts to collect all the tags present in the document to the root element.
  2. Second, examine SlateJS auto-completition features to suggest a tag for user.

SlateJS example code:

https://www.slatejs.org/examples/mentions

We could make tags as SlateJS void elements. It is possible. We don't have to edit the tag content, it is fine as a "glyph".

We could investigate for this kind of "glyphing" more. I have some long term plans to include sort of "wiki-pages" inside the mawe documents: "cards" for characters, places, artefacts and other things which you could refer, and on the other hand, they would be tied to story itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant