Open elimisteve opened 5 years ago
I'll have a look at this today.
Did you mean to link to https://github.com/cryptag/leapchat/blob/32bfca06ddc20c35b437d086f7b04c475256236b/src/components/chat/MessageForm.js instead? Message.js contains only stuff related to displaying a message, nothing about editing there.
@4xdk draft-js doesn't work on Android! :frowning: I ran into this, sadly: http://engineering.mindlinksoft.com/why-draftjs-doesnt-work-on-android/
@4xdk @Moe-Shoman One of you guys want to do this? Let's just use https://github.com/cryptag/leapchat/blob/32bfca06ddc20c35b437d086f7b04c475256236b/src/components/chat/Message.js#L11-L57 but add the keyboard shortcuts that I added to the current editable descriptions version: https://github.com/EffectiveAF/effective/blob/2ea48a03c010e58462d49423fc3cc8d003b39446/src/components/Content/RightPanel/TaskDetails/Wysiwyg/Wysiwyg.js#L114 and https://github.com/EffectiveAF/effective/blob/2ea48a03c010e58462d49423fc3cc8d003b39446/src/components/Content/RightPanel/TaskDetails/Wysiwyg/Wysiwyg.js#L15 .
I should work on auth and backend stuff instead, to prep for Tuesday, but I can jump on this if you guys don't have time in the next 4 days or so!