|
[
Permalink
| « Hide
]
Olli Savolainen added a comment - 17/Sep/09 07:35 PM
This could be out of scope but: Inserting that filter code could use a UI? Is it granted that when someone wants to create those buttons they can create them from the keyboard, or are they supposed to use the character map of the operating system? Or could we provide the palette of characters also tinymce provides, for selecting which buttons are needed?
It's an interesting idea.
For people who have javascript enabled in browser we have Richard Ishida's famous Uniview character picker and other picker scripts http://rishida.net/scripts/uniview/ http://people.w3.org/rishida/scripts/pickers/latin/ and it is also possible to create new advanced unicode picker plugin for TinyMCE - I already had one as a part of my unpublished math plugins - and Gunther Krauss has a nice picker in http://www.guntherkrauss.de/computer/xml/daten/edicode.html They can still be used for normal text input fields - you just need to type the special characters (or maths) first and either use plugin to send input back to textarea (place of selection) or copy and paste the input to text input field. I had a similar idea about creating a sort of "graphlets" that would first output just a button, empty graph or default graph and when you click one button you get the rest of "graphlet" and can copy the content to your text field - again I am able to create such filter and I have the code for getting graphs with some settings but my "graphlets" use javascript to produce controlled svg or vml depending on browser. Mauno, we don't want some nightmare UI to let people select any unicode character. We want a really simple interface to let students input the half dozen characters that they cannot type but with they need for the task at hand, where the list of characters must be selectable by the teacher.
And we are not using Tiny MCE. Olli, UI for creating filter markup. Nice idea, but an entirely separate issue. For now, teachers will have to learn the markup and use char map. The UI for students will be nice. Oh sorry - I did not notice this was 1.9 issues...although it is all the time possible to render minimal custom tinymce anywhere we like also in moodle 1.9 if we want...
Yes - I understood that you would like to show only a couple of buttons with filter... The simplest solution might still be to type those 3-4 characters to question area so that students can simply copy the ones they need Like the characters in your example: èéêç For example in Enrique's plugin for HTMLArea http://moodle.org/mod/forum/discuss.php?d=20864
Tim, could this filter idea be used for implementing Google Virtual keyboard to single input fields as well (that are not using editor) - http://moodle.org/mod/forum/discuss.php?d=126715
|
||||||||||||||||||||||||||||||||||||||||||||||||||