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

Add a preview function to PMs and AMs #50

Open
valitas opened this issue Aug 24, 2017 · 0 comments
Open

Add a preview function to PMs and AMs #50

valitas opened this issue Aug 24, 2017 · 0 comments
Labels

Comments

@valitas
Copy link
Owner

valitas commented Aug 24, 2017

The latest Pardus update added smileys and BB code to private and alliance messages, but it's easy to cock it up by typing invalid codes, which are sent as gibberish immediately to the recipient, or the whole alliance.

Which is rather embarrassing.

Ideally it would be something like the preview tab here on Github, which switches from an editable textarea to a rendered div. We'd have to figure out the subset of the formatting codes that are valid in PMs and AMs ([color=red], :yarr: etc.), parse them in Javascript and create HTML as close as we can to what Pardus will create on the actual submit.

@valitas valitas added the Wish label Aug 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant