mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #06478
[Bug 869214] Re: TinyMCE buttons need to be updated
All of these items already exist in TinyMCE as standard buttons or
plugins in the current version of TinyMCE. If one wants to argue about
if they should or should not be included, then the alternative would be
to create options in the configuration file. Then the end Administrator
can decide if they would or would not like them included. I was
actually planning to create that as another bug, but that is a lot more
work than just turning on these options by default.
I have already discovered that on some dialog boxes (aka Resume and
profile) that all of these buttons make those dialog editor boxes too
large. That is a cosmetic issue, but it is an issue related to applying
these changes.
This whole discussion got started, because the standard TinyMCE image
button does not allow the access to Mahara files (images, etc.) I
started to poke around TinyMCE's website and found the Advimage plugin
that replaces the standard image button. That plugin combined with
file_browser_callback and external_image_list_url, along with some
custom Mahara code, can fix the Mahara image file issue. (This bug does
not include any custom Mahara code -- just turning on standard TinyMCE
options).
In summary, the more I looked at TinyMCE's website and the Mahara bugs
and forum discussion the more I realized that the Mahara development
team is not aware of the power of TinyMCE. TinyMCE is a very powerful
editor, and to not allow Mahara's users to take advantage of its power
does not make sense.
Even with this large list, I have not looked at all of the potential of
TinyMCE. There is the ability to add quick keys, ability to hide the
GuI buttons, accessability (screen reader) features ... the list goes
on. There are even options to add source code that looks pretty (issue
that comes up frequently in the forums).
Add to the list
Button: Advlist
Plugin: advlist
Summary:
Advlist - better list options
Advimage - better image options
Advlink - better link options
Advhr - Better horizontal ruler options
Media - Ability to add media (audio and video), only available in the current version of TinyMCE.
Insert date and insert time (not required, but they are nice to have ). All student documents usually have a date field. If a person is keeping a log of something they may want a time.
outdent and indent - changes the margin in or out (standard option in most editors).
search and replace - again, standard option in most editors (may not be a required one, but it is nice).
styprops - Very nice style dialog box. Nice to have
style selector - (that one needs to do a bit more testing of, but I think it is supposed to allow the user to select a style from a list of predefined styles.
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/869214
Title:
TinyMCE buttons need to be updated
Status in Mahara ePortfolio:
Triaged
Bug description:
Requires Bug #869193 to be fixed first (updating TinyMCE to version
3.4.6)
The following buttons needs to be activated
1. Image Button needs to be changed to AdvImage (no button change, just plugin)
2. Link button needs to be changed to AdvLink (no button change, just plugin)
3. Media button needs to be activated.
4. Insertdate button need to be activated
5. Inserttime button needs to be activated
6. outdent button needs to be activated
7. indent button needs to be activated
8. search button needs to be activated
9. replace button needs to be activated
10. styleprops button needs to be activated
11. styleselect button needs to be activated
12. advhr button needs to be activated
The following plugins need to be added:
advhr, advlink, advimage, insertdatetime, style, searchreplace, media,
autosize
$adv_buttons = array(
"undo,redo,separator,bold,italic,underline,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,bullist,numlist,separator,link,unlink,separator,code,fullscreen",
"bold,italic,underline,strikethrough,separator,forecolor,backcolor,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,advhr,emotions,image,media,spellchecker,cleanup,separator,link,unlink,separator,insertdate,inserttime,code,fullscreen",
"undo,redo,separator,bullist,numlist,separator,tablecontrols,separator,cut,copy,paste,pasteword,separator,outdent,indent,blockquote,search,replace",
"styleprops,styleselect,fontselect,separator,fontsizeselect,separator,formatselect,removeformat",
);
plugins:
"table,emotions,spellchecker,inlinepopups,paste,fullscreen,tabfocus,advhr,advlink,advimage,insertdatetime,style,searchreplace,media,autoresize",
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/869214/+subscriptions
References