newcobrian / collabo

0 stars 0 forks source link

improve text editor #2

Open newcodave opened 6 years ago

newcodave commented 6 years ago

current editor is OK. what else do we want to do here?

newcobrian commented 6 years ago

Need a new rich text editor to replace the one on the Thread page (react-draft-wysiwyg Editor). This will also be used for Comment Input instead of just a string input.

Toolbar example: image

Features:

Text

  1. Text size: if possible let's do the same as google docs: normal, Heading 1-3, Title, subtitle. Otherwise let's just do large, normal, small
  2. Font: also can change to specific font sizes
  3. Bold, Italicized, Underlined, Strikethrough, subscript, superscript
  4. Text color

Paragraph

  1. left or right justified, centered, block
  2. indent right or left
  3. bullet list
  4. numbered list

Misc

  1. Attachments
  2. Inline pictures or video (unfurl and show preview image. This can be v2 and we can discuss)
  3. Inline Google Drive integration (that we have from your previous project)

Things to think about

  1. How are comment previews shown in the inbox if there's formatting?
  2. V2 - Should work on mobile, but let's discuss before doing this