-
Notifications
You must be signed in to change notification settings - Fork 13
ability to at-mention users in bucket comments #383
base: master
Are you sure you want to change the base?
Conversation
a problem that I'm not sure how to fix.. I'm using |
…oesn't get rendered twice
@jlopker There's This is from parameters in the POST body: |
@jlopker When I use a header all text become header sized: body: |
@chime-mu Ok this is officially the most annoying feature ever. But! I think I may gotten it.. The comment field is a contenteditable div rather than a textarea which is why we were getting all that html markup. From my current thinking, it needs to be contenteditable because we need to transform the user name into something that carries information about the userid. And because we can't hide that kind of information in textareas, I thought we needed a contenteditable div. I'm now using jQuery to strip out the html and turn the inputted comment into text. It's not an elegant solution though :(. I tested it with all the kinds of markup I could think of and it seems to be working. Let me know how it goes for you! Thanks. |
@jlopker Now linebreaks are completely gone. This is expected output (taken from prod): This is what happens in the @-mention branch: For the header problem, this is expected output: This is what happens in the @-mention branch: |
No description provided.