BenHenning / oppia

Automatically exported from code.google.com/p/oppia
Apache License 2.0
0 stars 0 forks source link

Improvements to the rich-text editor #775

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We've recently migrated the rich-text editor to textAngular. Here is a list of 
outstanding things to fix (based on issue 475):

  (1) Toolbar tooltips -- hovering over an RTE button in the toolbar should show a tooltip displaying a textual description of what the button does.
  (2) Cursor management -- start from an empty editor, click an extension, then press cancel, then type some text, and try to insert extensions at the end of that text. The extension gets inserted at the beginning instead.
  (3) Customization editor -- the 'view mode' for RTE extensions should be arbitrarily customizable and not just limited to tiny icons; the edit interface should resemble the final view interface as much as possible.
  (4) Sanitization -- RTE content should be auto-sanitized in the frontend.
  (5) Copy/paste -- copy/pasting content into the RTE should strip formatting. It should also correctly handle RTE extensions.
  (6) Tab key -- when the user is in the context of a list, the Tab key should indent the list, and the Shift+Tab key should de-indent it. Otherwise the Tab key should move to the next input field.
  (7) Parameters -- build a (stripped-down) RTE that can serve as a unicode editor with parameters.
  (8) Toolbar -- come up with a toolbar design that supports tables and monospaced text (for code), or decide that we will not support this.

Original issue reported on code.google.com by s...@seanlip.org on 21 May 2015 at 10:38

GoogleCodeExporter commented 9 years ago
Issue 475 has been merged into this issue.

Original comment by s...@seanlip.org on 21 May 2015 at 10:39

GoogleCodeExporter commented 9 years ago
Updates:

  * Item (1) is done -- https://code.google.com/p/oppia/source/detail?r=9b00b3628eac511dabe0367a086858502a0d5644&name=rte-tooltips
  * Item (5)(a) is done -- thanks Allan! https://code.google.com/p/oppia/source/detail?r=cea3ec09d0c2f8989df1a6ae80a02f504ff0b176&name=develop

Allan, any chance you could look into (2) and (5)(b)?

Original comment by s...@seanlip.org on 26 May 2015 at 5:07

GoogleCodeExporter commented 9 years ago
Sure thing, latest work on (2) is here -- 
https://code.google.com/p/oppia/source/detail?r=7ea43836a90c6a55a6a6cc812b5ec4fd
a04cfb90&name=rte-cursor-fix

I'll look at (5)(b) as well.

Original comment by AYZh...@gmail.com on 26 May 2015 at 7:21