From: moodler Date: Mon, 21 Oct 2002 05:42:37 +0000 (+0000) Subject: Changes to toolbar to position color pickers better, and X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=09a4ce320ccbf4bfb53e1a2d3e1e35f6da723830;p=moodle.git Changes to toolbar to position color pickers better, and reintroduce the "select all" button. Unfortnately, I had to remove the "About richtext" button to make room --- diff --git a/lib/rte/README_MOODLE b/lib/rte/README_MOODLE index 9087121815..d42a940a88 100644 --- a/lib/rte/README_MOODLE +++ b/lib/rte/README_MOODLE @@ -1,4 +1,7 @@ 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 diff --git a/lib/rte/richedit.html b/lib/rte/richedit.html index 7d71422dd6..21d3ad51ca 100644 --- a/lib/rte/richedit.html +++ b/lib/rte/richedit.html @@ -164,8 +164,9 @@ var tEdit = null; @{DecreaseIndent} @{IncreaseIndent} + @{SelectAll} - + @{HistoryBack} @{HistoryForward} @@ -181,8 +182,6 @@ var tEdit = null; @{InsertLine} @{InsertSmily} @{InsertCharacter} - - @{About} diff --git a/lib/rte/rte.js b/lib/rte/rte.js index 6734d2ea83..01c0d0c301 100644 --- a/lib/rte/rte.js +++ b/lib/rte/rte.js @@ -326,7 +326,7 @@ function pickColor(fg) setState(el, true); } color.style.top = window.event.clientY + 10; - color.style.left = window.event.clientX - 100; + color.style.left = window.event.clientX - 250; color.style.display = 'block'; color._fg = fg; }