edx/edx-platform — pull request #3480 by lduarte1991 (2014-04-25 22:42:07+00:00)
Title: Annotation Tool Clean up and Plugins

**Background:** As per Christina's request I'll be turning the Pull Request #2515 into a few smaller PRs. This is PR Chunk #2. #3466 is the first chunk.

**Goal of this PR:** First goal is to clean up a few CSS changes: 1) The "display name" gets a little wonky with the text annotation module, there's a fix for it here only when it's within the annotator-wrapper. 2) Fixing the size of the panel for the widget. 3) Fixed the size of the dropdown for the tags. The second goal is to add the Diacritic Plugin that I've written for the annotator tool. The last is to fix the plugin for colored tags. It will allow for user-generated tags instead of only instructor-designated ones.

**CMS Updates:** UI Fix, the title should not be off the module anymore.

**LMS Updates:** User should now be able to create tags even if they are not in the dropdown menu. If the instructor wants them to use diacritic marks they will see a list of appropriate marks underneath the tags that you can check on or off. A mark should appear or disappear accordingly.

**Testing notes:** In studio, under the settings tab of the text annotation module there will now be an option to include diacritic marks. Use the following in order to get the "breve" symbol to show up: ```breve;http://i.imgur.com/PbSLGLP.gif;top``` Then head over to the LMS and once you highlight you should see the "breve" option appear as one you can check. Hitting save will make that appear. "breve" will also be a "tag" but it will not disappear if you delete that tag in the editor until you check off the box.

To test the tags just add whatever tag you want. If it's one from the dropdown menu it'll change to the appropriate color, otherwise it will tell you to hit ENTER to add a personal tag and it will be the default yellow highlight.