Skip to content
This repository has been archived by the owner on May 20, 2020. It is now read-only.

Get prokeys to work on slack #233

Open
GaurangTandon opened this issue Sep 18, 2018 · 3 comments
Open

Get prokeys to work on slack #233

GaurangTandon opened this issue Sep 18, 2018 · 3 comments
Assignees
Labels
bug can-reproduce bug reports that can be reproduced by the owner, on the then app version snippet-insertion
Milestone

Comments

@GaurangTandon
Copy link
Owner

GaurangTandon commented Sep 18, 2018

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 GaurangTandon added bug snippet-insertion can-reproduce bug reports that can be reproduced by the owner, on the then app version labels Sep 18, 2018
@GaurangTandon GaurangTandon self-assigned this Sep 18, 2018
@GaurangTandon GaurangTandon added this to the 3.5.0 milestone Sep 18, 2018
@GaurangTandon
Copy link
Owner Author

Current situation:

  1. Mathomania works, but when starting off an empty message, every auto-insert has a weird selection: ['[]'] where content in apostrophe is selected.
  2. Auto-inserts work, but same problem as above.
  3. 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.
  4. Caret positioning is unavailable as of now :/
  5. Nope, does not happen.

@GaurangTandon GaurangTandon modified the milestones: 3.5.0, 3.5.1 Jun 10, 2019
@GaurangTandon
Copy link
Owner Author

Basically need #259

@GaurangTandon GaurangTandon modified the milestones: 3.8.0, 3.7.0 Jul 1, 2019
@GaurangTandon
Copy link
Owner Author

We could possibly have a solution just by inserting several paragraph elements and using nextSibling to navigate them.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug can-reproduce bug reports that can be reproduced by the owner, on the then app version snippet-insertion
Projects
None yet
Development

No branches or pull requests

1 participant