Get prokeys to work on slack
Opened this issue · 3 comments
GaurangTandon commented
Expected compatibilty
- Mathomania
- Auto-inserts
- Multiline snippets with placeholders
- correct caret positioning
- rich text snippets converting to their markdown analogs
List of valid HTML elements inside a Slack p
element:
- Emoji (
img
) @
mentions (span#URANDOM_ID
)
GaurangTandon commented
Current situation:
- Mathomania works, but when starting off an empty message, every auto-insert has a weird selection:
['[]']
where content in apostrophe is selected. - Auto-inserts work, but same problem as above.
- Nope, they collapse into a single line, and no placeholders work. This is because slack expects all its content to be in a series of
p
elements. - Caret positioning is unavailable as of now :/
- Nope, does not happen.
GaurangTandon commented
Basically need #259
GaurangTandon commented
We could possibly have a solution just by inserting several paragraph elements and using nextSibling to navigate them.