moodle/lib/rte/popup_editor.html
moodler de909d238d Adding a beta version of Rich Text Editor, for embedding into Moodle
forms (forums, readings, journals etc).  Works only on IE 5.5 and later.

Slightly customised for a slimmer toolbar.
2002-10-10 07:21:32 +00:00

74 lines
2.4 KiB
HTML

<!--
#################################################################################
##
## HTML Text Editing Component for hosting in Web Pages
## Copyright (C) 2001 Ramesys (Contracting Services) Limited
##
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Lesser General Public
## License as published by the Free Software Foundation; either
## version 2.1 of the License, or (at your option) any later version.
##
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## Lesser General Public License for more details.
##
## You should have received a copy of the GNU LesserGeneral Public License
## along with this program; if not a copy can be obtained from
##
## http://www.gnu.org/copyleft/lesser.html
##
## or by writing to:
##
## Free Software Foundation, Inc.
## 59 Temple Place - Suite 330,
## Boston,
## MA 02111-1307,
## USA.
##
## Original Developer:
##
## Austin David France
## Ramesys (Contracting Services) Limited
## Mentor House
## Ainsworth Street
## Blackburn
## Lancashire
## BB1 6AY
## United Kingdom
## email: Austin.France@Ramesys.com
##
## Home Page: http://richtext.sourceforge.net/
## Support: http://richtext.sourceforge.net/
##
#################################################################################
-->
<HTML>
<HEAD>
<META content="HTML 4.0" name="vs_targetSchema">
<META content="Microsoft Visual Studio 7.0" name="GENERATOR">
<title>Edit Text</title>
</HEAD>
<BODY leftMargin=0 topMargin=0>
<object id=richedit style="BACKGROUND-COLOR: buttonface" data="richedit.html" width="100%" height="100%" type="text/x-scriptlet" VIEWASTEXT>
</object>
<SCRIPT language="JavaScript">
var edit = window.dialogArguments;
</SCRIPT>
<SCRIPT language="JavaScript" event="onload" for="window">
window.returnValue = null;
if (edit.defaultFont) richedit.defaultFont = edit.defaultFont;
if (edit.defaultFontSize) richedit.defaultFontSize = edit.defaultFontSize;
if (edit.styledata) richedit.styledata = edit.styledata
richedit.docHtml = edit.src;
</script>
<SCRIPT language="JavaScript" event="onscriptletevent(name, eventData)" for="richedit">
window.returnValue = eventData;
window.close();
</script>
</BODY></HTML>