This version of the Richtext editor started out as 0.3 beta 1,
and I've hacked richedit.html to make the toolbars more compact.
+I've also changed the smilies to refer to Moodle smilies, and
+added/removed some.
+
Martin Dougiamas, 10/10/2002
<img class="spacer" src="images/spacer.gif" width="2"><span class="sep"></span>\r
<img id="btnOutdent" onmousedown="doStyle('Outdent')" alt="@{DecreaseIndent}" src="images/icon_outdent.gif" align="absMiddle" width="20" height="20">\r
<img id="btnIndent" onmousedown="doStyle('Indent')" alt="@{IncreaseIndent}" src="images/icon_indent.gif" align="absMiddle" width="20" height="20">\r
+ <img id="btnSelect" onclick="doStyle('SelectAll')" alt="@{SelectAll}" src="images/icon_select_all.gif" align="absMiddle" width="20" height="20">\r
<span id="featureHistory">\r
- <img class="spacer" src="images/spacer.gif" width="2"><span class="sep"></span>\r
+ <img class="spacer" src="images/spacer.gif" width="10"><span class="sep"></span>\r
<img id="btnPrev" onmousedown="document.execCommand('Undo')" alt="@{HistoryBack}" src="images/icon_undo.gif" align="absMiddle" width="20" height="20">\r
<img id="btnNext" onmousedown="document.execCommand('Redo')" alt="@{HistoryForward}" src="images/icon_redo.gif" align="absMiddle" width="20" height="20">\r
</span></nobr></td>\r
<img id="btnRule" onclick="doStyle('InsertHorizontalRule')" alt="@{InsertLine}" src="images/icon_rule.gif" align="absMiddle" width="20" height="20">\r
<img id="btnSmile" onclick="insert('smile')" alt="@{InsertSmily}" src="images/em.icon.smile.gif" align="absMiddle" width="15" height="15">\r
<img id="btnChar" onclick="insert('char')" alt="@{InsertCharacter}" src="images/icon_ins_char.gif" align="absMiddle" width="20" height="20" border="0">\r
- <img class="spacer" src="images/spacer.gif" width="2"><span class="sep"></span>\r
- <img id="btnAbout" onclick="insert('about')" alt="@{About}" src="images/icon_about.gif" align="absMiddle" width="16" height="16">\r
</span></nobr></td></tr>\r
<tr id="featureStyleBar" ondragstart="handleDrag(0)" onmouseup="press(false)" onmousedown="press(true)" onmouseover="hover(true)" onmouseout="hover(false)">\r
<td colspan=2 class="rebar"><nobr><span class="toolbar">\r
setState(el, true);\r
}\r
color.style.top = window.event.clientY + 10;\r
- color.style.left = window.event.clientX - 100;\r
+ color.style.left = window.event.clientX - 250;\r
color.style.display = 'block';\r
color._fg = fg;\r
}\r